diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-30 14:13:17 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-30 14:13:17 -0700 |
commit | d951e75f9389eece4f5bca4bad1a96d1f16be8ef (patch) | |
tree | a9cc0b9aafe52351d7b14f6262ee88fc5b43e6ad | |
parent | 38bdb7959efad37dadb289e9783fbddeda59d3cd (diff) | |
parent | e2be8b42b1c2da7129f42cc59c5d43470c0a2b7b (diff) |
am e2be8b42: Merge "Fix for private numbers in call shortcut being dialable" into klp-dev
* commit 'e2be8b42b1c2da7129f42cc59c5d43470c0a2b7b':
Fix for private numbers in call shortcut being dialable
-rw-r--r-- | src/com/android/dialer/calllog/CallLogAdapter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java index b2493cf97..86540efbb 100644 --- a/src/com/android/dialer/calllog/CallLogAdapter.java +++ b/src/com/android/dialer/calllog/CallLogAdapter.java @@ -534,6 +534,8 @@ public class CallLogAdapter extends GroupingListAdapter } else if (PhoneNumberUtilsWrapper.canPlaceCallsTo(number, numberPresentation)) { // Sets the primary action to call the number. views.primaryActionView.setTag(IntentProvider.getReturnCallIntentProvider(number)); + } else { + views.primaryActionView.setTag(null); } // Store away the voicemail information so we can play it directly. |