summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-20 01:09:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-20 01:09:48 +0000
commit4e710e70b47d1236640ef0e2c98134e15e0c6be2 (patch)
tree0c0e34aff9fec85a80936c333226a046e097ddb8
parent2cfb9b2c20e281215a42990b41069655b64b22b4 (diff)
parent005183fff98e2f96bc4a73edd1c985ff249bde58 (diff)
Merge "Don't allow calls to undialable numbers" into klp-dev
-rw-r--r--src/com/android/dialer/calllog/CallLogAdapter.java2
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));
}