summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-24 20:39:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-24 20:39:28 +0000
commit121b28e859806d27ed852f47c1994c9d473bfd0d (patch)
tree8bb825402b39c5b911dba4382b100e9bc7fbe3e3
parent9bead9c01ab09ebfbd1c2be8555d8c8d4e3cf6bd (diff)
parentc862579023158f416fd86177d20eb1cbe7f6f3da (diff)
Merge "Fix clear call log option in overflow menu" into klp-dev
-rw-r--r--src/com/android/dialer/calllog/CallLogActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java
index c343a7c0a..42318f0f1 100644
--- a/src/com/android/dialer/calllog/CallLogActivity.java
+++ b/src/com/android/dialer/calllog/CallLogActivity.java
@@ -157,7 +157,7 @@ public class CallLogActivity extends Activity {
// If onPrepareOptionsMenu is called before fragments loaded. Don't do anything.
if (mAllCallsFragment != null && itemDeleteAll != null) {
final CallLogAdapter adapter = mAllCallsFragment.getAdapter();
- itemDeleteAll.setEnabled(adapter != null && !adapter.isEmpty());
+ itemDeleteAll.setVisible(adapter != null && !adapter.isEmpty());
}
return true;
}