diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-20 01:09:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-20 01:09:48 +0000 |
commit | 4e710e70b47d1236640ef0e2c98134e15e0c6be2 (patch) | |
tree | 0c0e34aff9fec85a80936c333226a046e097ddb8 /src | |
parent | 2cfb9b2c20e281215a42990b41069655b64b22b4 (diff) | |
parent | 005183fff98e2f96bc4a73edd1c985ff249bde58 (diff) |
Merge "Don't allow calls to undialable numbers" into klp-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java index 8b7e27d5a..00f1abcf1 100644 --- a/src/com/android/dialer/calllog/CallLogAdapter.java +++ b/src/com/android/dialer/calllog/CallLogAdapter.java @@ -516,7 +516,7 @@ public class CallLogAdapter extends GroupingListAdapter views.primaryActionView.setTag( IntentProvider.getCallDetailIntentProvider( getCursor(), c.getPosition(), c.getLong(CallLogQuery.ID), count)); - } else { + } else if (PhoneNumberUtilsWrapper.canPlaceCallsTo(number, numberPresentation)) { // Sets the primary action to call the number. views.primaryActionView.setTag(IntentProvider.getReturnCallIntentProvider(number)); } |