diff options
author | Makoto Onuki <omakoto@google.com> | 2015-03-09 13:57:02 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2015-03-09 13:57:02 -0700 |
commit | edb8450b567cd7ae9f13255960b46f155865b163 (patch) | |
tree | b96d8ffaf734ed53cf9cdf148078e8bef9d40a25 /core | |
parent | 3c36b8e9569292b7da9a916b148a21dd6c273dc9 (diff) | |
download | frameworks_base-edb8450b567cd7ae9f13255960b46f155865b163.zip frameworks_base-edb8450b567cd7ae9f13255960b46f155865b163.tar.gz frameworks_base-edb8450b567cd7ae9f13255960b46f155865b163.tar.bz2 |
Cache photo URI too in calllog (contract)
Enterprise phone lookup returns special photo URLs for corp contacts, which
can't be obtained just with contact IDs. So we need to cache the URIs too and
otherwise pictures sometimes don't show up.
Bug 19546108
Change-Id: Iffd5ed16527a143ea55e40e42667e7d0c16d814a
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/provider/CallLog.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 2df9dbf..6517f35 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -328,6 +328,14 @@ public class CallLog { public static final String CACHED_PHOTO_ID = "photo_id"; /** + * The cached photo URI of the picture associated with the phone number, if it exists. + * This value may not be current if the contact information associated with this number + * has changed. + * <P>Type: TEXT (URI)</P> + */ + public static final String CACHED_PHOTO_URI = "photo_uri"; + + /** * The cached phone number, formatted with formatting rules based on the country the * user was in when the call was made or received. * This value is not guaranteed to be present, and may not be current if the contact |