summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremancebo <emancebo@cyngn.com>2015-08-20 17:21:37 -0700
committeremancebo <emancebo@cyngn.com>2015-08-24 16:30:21 -0700
commita16000e1177d3c1b7083f597e4cd9e76f277dfe1 (patch)
treea65c0cbf2c1ce6d5116e84923bb768ea31b4f164
parent0cd0bf4fbf29ee37f21a89d2b3762f931853b1f0 (diff)
downloadandroid_packages_apps_ContactsCommon-staging/incall-api.tar.gz
android_packages_apps_ContactsCommon-staging/incall-api.tar.bz2
android_packages_apps_ContactsCommon-staging/incall-api.zip
ContactsCommon: Add mime type to phone query projectionstaging/incall-api
Change-Id: I2adaafa8de3cd25d37d278b21679c138a4f79f39
-rw-r--r--src/com/android/contacts/common/list/PhoneNumberListAdapter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/contacts/common/list/PhoneNumberListAdapter.java b/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
index 35ff111a..37c44c58 100644
--- a/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
+++ b/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
@@ -84,6 +84,7 @@ public class PhoneNumberListAdapter extends ContactEntryListAdapter {
Phone.PHOTO_THUMBNAIL_URI, // 8
RawContacts.ACCOUNT_TYPE, // 9
RawContacts.ACCOUNT_NAME, // 10
+ Data.MIMETYPE, // 11
};
public static final String[] PROJECTION_ALTERNATIVE = new String[] {
@@ -98,6 +99,7 @@ public class PhoneNumberListAdapter extends ContactEntryListAdapter {
Phone.PHOTO_THUMBNAIL_URI, // 8
RawContacts.ACCOUNT_TYPE, // 9
RawContacts.ACCOUNT_NAME, // 10
+ Data.MIMETYPE, // 11
};
public static final int PHONE_ID = 0;
@@ -111,6 +113,7 @@ public class PhoneNumberListAdapter extends ContactEntryListAdapter {
public static final int PHOTO_URI = 8;
public static final int PHONE_ACCOUNT_TYPE = 9;
public static final int PHONE_ACCOUNT_NAME = 10;
+ public static final int MIME_TYPE = 11;
}
private static final String IGNORE_NUMBER_TOO_LONG_CLAUSE =