diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-23 16:06:11 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-09-23 16:10:42 -0700 |
commit | c862579023158f416fd86177d20eb1cbe7f6f3da (patch) | |
tree | c1a56081958520163a0e581d28034bbc3e2967f4 /src | |
parent | d73ea85ab5903dbac8cc4f5e5bdb55261607feb7 (diff) |
Fix clear call log option in overflow menu
Bug: 10895974
Change-Id: I4259602709705665aefddba38784667faa6d50aa
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogActivity.java | 2 |
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; } |