diff options
author | Brian Attwell <brianattwell@google.com> | 2015-02-25 22:31:22 -0800 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2015-02-26 11:30:02 -0800 |
commit | 74eb4ecc5df272f681b427760d46deafce8ed0b2 (patch) | |
tree | b282b7c40afd06fe35922b9dd860a95de327533e /src/com/android/dialer/CallDetailActivity.java | |
parent | 2099148622c63b51b4b63273546ddd6a9db8b9a2 (diff) |
QuickContacts can prioritize phone mimetype. Part2
Whenever using QuickContacts in Dialer, make sure to
prioritize the phone mimetype.
Bug: 18391003
Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index fb663d729..df8197a10 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -245,6 +245,7 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware mQuickContactBadge = (QuickContactBadge) findViewById(R.id.quick_contact_photo); mQuickContactBadge.setOverlay(null); + mQuickContactBadge.setPrioritizedMimeType(Phone.CONTENT_ITEM_TYPE); mCallerName = (TextView) findViewById(R.id.caller_name); mCallerNumber = (TextView) findViewById(R.id.caller_number); mAccountLabel = (TextView) findViewById(R.id.phone_account_label); |