diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-10 01:13:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-10 01:13:32 +0000 |
commit | dc778c1a6fe5548f82dabfbf5945cc53437815e3 (patch) | |
tree | 2ef5fc223de69d687e95865686b5333a3ea46a3d /src/com/android/dialer/CallDetailActivity.java | |
parent | a3b62d1a02f93e8ce98d2ef3a66eb997308b3321 (diff) | |
parent | 58ebe5d3fac837625b69fe1565427f17025bd780 (diff) |
Merge "Add URI for unknown contacts to enable quick contact badge" into klp-dev
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 1f41ac43c..e26d2f020 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -55,6 +55,8 @@ import com.android.contacts.common.ContactPhotoManager; import com.android.contacts.common.CallUtil; import com.android.contacts.common.ClipboardUtils; import com.android.contacts.common.GeoUtil; +import com.android.contacts.common.util.Constants; +import com.android.contacts.common.util.UriUtils; import com.android.dialer.BackScrollManager.ScrollableHeader; import com.android.dialer.calllog.CallDetailHistoryAdapter; import com.android.dialer.calllog.CallTypeHelper; @@ -450,7 +452,7 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware nameOrNumber = firstDetails.number; } - if (contactUri != null) { + if (contactUri != null && !UriUtils.isEncodedContactUri(contactUri)) { mainActionIntent = new Intent(Intent.ACTION_VIEW, contactUri); // This will launch People's detail contact screen, so we probably want to // treat it as a separate People task. |