summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremancebo <emancebo@cyngn.com>2015-03-02 14:05:28 -0800
committeremancebo <emancebo@cyngn.com>2015-03-02 14:07:23 -0800
commit5a934d9148dc8686262baf105f706cf5280e13eb (patch)
tree0d168797007f749b3e907e1dfd5c120d3988f02c
parent873a41e43a149f765148398cf913869767aa3483 (diff)
downloadandroid_packages_apps_ContactsCommon-5a934d9148dc8686262baf105f706cf5280e13eb.tar.gz
android_packages_apps_ContactsCommon-5a934d9148dc8686262baf105f706cf5280e13eb.tar.bz2
android_packages_apps_ContactsCommon-5a934d9148dc8686262baf105f706cf5280e13eb.zip
ContactsCommon: Add PHOTO_ID to contact tile loader projection
Makes it possible to access photoId to load thumbnails for starred result set Change-Id: I8e8c54168bae8bf84b633cb083f54808fd6ec9b2
-rw-r--r--src/com/android/contacts/common/ContactTileLoaderFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/contacts/common/ContactTileLoaderFactory.java b/src/com/android/contacts/common/ContactTileLoaderFactory.java
index 33d4ea68..ee9a2bf1 100644
--- a/src/com/android/contacts/common/ContactTileLoaderFactory.java
+++ b/src/com/android/contacts/common/ContactTileLoaderFactory.java
@@ -42,6 +42,7 @@ public final class ContactTileLoaderFactory {
public final static int CONTACT_PRESENCE = 7;
public final static int CONTACT_STATUS = 8;
+ public final static int PHOTO_ID = 9;
// Only used for StrequentPhoneOnlyLoader
public final static int PHONE_NUMBER = 7;
@@ -64,6 +65,7 @@ public final class ContactTileLoaderFactory {
RawContacts.ACCOUNT_NAME, // 6
Contacts.CONTACT_PRESENCE, // .............................7
Contacts.CONTACT_STATUS, // ...............................8
+ Contacts.PHOTO_ID, // .....................................9
};
/**