diff options
Diffstat (limited to 'src/com/android/browser/NavigationBarPhone.java')
-rw-r--r-- | src/com/android/browser/NavigationBarPhone.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/browser/NavigationBarPhone.java b/src/com/android/browser/NavigationBarPhone.java index f3eaa2a..6bdbf7d 100644 --- a/src/com/android/browser/NavigationBarPhone.java +++ b/src/com/android/browser/NavigationBarPhone.java @@ -50,7 +50,6 @@ public class NavigationBarPhone extends NavigationBarBase implements private Drawable mTextfieldBgDrawable; private PopupMenu mPopupMenu; private boolean mOverflowMenuShowing; - private boolean mNeedsMenu; private View mIncognitoIcon; public NavigationBarPhone(Context context) { @@ -91,7 +90,6 @@ public class NavigationBarPhone extends NavigationBarBase implements mTextfieldBgDrawable = res.getDrawable(R.drawable.textfield_active_holo_dark); mUrlInput.setContainer(this); mUrlInput.setStateListener(this); - mNeedsMenu = !ViewConfiguration.get(getContext()).hasPermanentMenuKey(); mIncognitoIcon = findViewById(R.id.incognito_icon); } @@ -224,7 +222,7 @@ public class NavigationBarPhone extends NavigationBarBase implements mMagnify.setVisibility(View.GONE); mTabSwitcher.setVisibility(View.VISIBLE); mTitleContainer.setBackgroundDrawable(null); - mMore.setVisibility(mNeedsMenu ? View.VISIBLE : View.GONE); + mMore.setVisibility(View.VISIBLE); break; case StateListener.STATE_HIGHLIGHTED: mComboIcon.setVisibility(View.GONE); |