diff options
| -rw-r--r-- | api/current.txt | 1 | ||||
| -rw-r--r-- | api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/provider/CallLog.java | 8 |
3 files changed, 10 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index b22dd1c12906..cdbf2ef1a144 100644 --- a/api/current.txt +++ b/api/current.txt @@ -24060,6 +24060,7 @@ package android.provider { field public static final java.lang.String CACHED_NUMBER_LABEL = "numberlabel"; field public static final java.lang.String CACHED_NUMBER_TYPE = "numbertype"; field public static final java.lang.String CACHED_PHOTO_ID = "photo_id"; + field public static final java.lang.String CACHED_PHOTO_URI = "photo_uri"; field public static final android.net.Uri CONTENT_FILTER_URI; field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/calls"; field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/calls"; diff --git a/api/system-current.txt b/api/system-current.txt index 2b8ce989ca24..d080a63d2d61 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -25660,6 +25660,7 @@ package android.provider { field public static final java.lang.String CACHED_NUMBER_LABEL = "numberlabel"; field public static final java.lang.String CACHED_NUMBER_TYPE = "numbertype"; field public static final java.lang.String CACHED_PHOTO_ID = "photo_id"; + field public static final java.lang.String CACHED_PHOTO_URI = "photo_uri"; field public static final android.net.Uri CONTENT_FILTER_URI; field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/calls"; field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/calls"; diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 2df9dbfb467b..6517f350f7e5 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 |