summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-27 00:10:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-27 00:10:01 +0000
commite2be8b42b1c2da7129f42cc59c5d43470c0a2b7b (patch)
treea9cc0b9aafe52351d7b14f6262ee88fc5b43e6ad /src
parent6c2b2ec252f2a9788bb967c069740f5a1bdc495e (diff)
parenta8dab0a58e3145adfc27f75f563732e8589674ed (diff)
Merge "Fix for private numbers in call shortcut being dialable" into klp-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/calllog/CallLogAdapter.java2
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.