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/list/PhoneFavoriteSquareTileView.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/list/PhoneFavoriteSquareTileView.java')
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteSquareTileView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java b/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java index 5f8877616..05780c66a 100644 --- a/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java +++ b/src/com/android/dialer/list/PhoneFavoriteSquareTileView.java @@ -17,6 +17,7 @@ package com.android.dialer.list; import android.content.Context; +import android.provider.ContactsContract.CommonDataKinds.Phone; import android.provider.ContactsContract.QuickContact; import android.util.AttributeSet; import android.view.View; @@ -63,7 +64,7 @@ public class PhoneFavoriteSquareTileView extends PhoneFavoriteTileView { private void launchQuickContact() { QuickContact.showQuickContact(getContext(), PhoneFavoriteSquareTileView.this, - getLookupUri(), QuickContact.MODE_LARGE, null); + getLookupUri(), null, Phone.CONTENT_ITEM_TYPE); } @Override |