summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-07-30 16:11:09 -0700
committerYorke Lee <yorkelee@google.com>2013-07-30 16:11:09 -0700
commitf00e1cfc307d37ac2cb693c701a3dcc2790b84c2 (patch)
treeb5d88b147fef2972b9b0e24eef58855f0165924f /src
parent114ac7c63c9cc53a2c5159f5f34fb9390d28cc85 (diff)
Don't hide overflow menu on devices with menu hard key
We can reenable the menu hard key on devices which have one when we figure out menu interactions between DialtactsActivity and its fragments. Also removed useless Show All Contacts menu option. Change-Id: I446b2157072c137c7b8624ae97455f793b188cdb
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/NewDialtactsActivity.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/com/android/dialer/NewDialtactsActivity.java b/src/com/android/dialer/NewDialtactsActivity.java
index 6d2bb3fdb..36e4a546a 100644
--- a/src/com/android/dialer/NewDialtactsActivity.java
+++ b/src/com/android/dialer/NewDialtactsActivity.java
@@ -460,13 +460,7 @@ public class NewDialtactsActivity extends TransactionSafeActivity implements Vie
public void setupFakeActionBarItemsForFavoritesFragment() {
mMenuButton = findViewById(R.id.overflow_menu);
if (mMenuButton != null) {
- // mMenuButton.setMinimumWidth(fakeMenuItemWidth);
- if (ViewConfiguration.get(this).hasPermanentMenuKey()) {
- // This is required for dialpad button's layout, so must not use GONE here.
- mMenuButton.setVisibility(View.INVISIBLE);
- } else {
- mMenuButton.setOnClickListener(this);
- }
+ mMenuButton.setOnClickListener(this);
}
mCallHistoryButton = findViewById(R.id.call_history_button);