From 040e6b302cc47afbda9d8d08ac3b02c8192eccab Mon Sep 17 00:00:00 2001 From: Dave Santoro Date: Fri, 15 Jul 2011 15:14:08 -0700 Subject: Updates and fixes for the social stream API. - Social stream photo updates should use the new photo storage system instead of storing the image content in BLOBs. - Package names need to be text, not numbers. The status update documentation was incorrect. - Social stream photos will include a URI the caller can open to get the photo content. - Removed the max photo bytes from the stream item limit query, as we'll do appropriate resizing with the photo storage system. Change-Id: I103ee1340c1a3772ae37add3684b0658c241a49c --- api/current.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index 6984b07..26795a9 100644 --- a/api/current.txt +++ b/api/current.txt @@ -16238,12 +16238,14 @@ package android.provider { } public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { + field public static final java.lang.String PHOTO = "photo"; } protected static abstract interface ContactsContract.StreamItemPhotosColumns { field public static final java.lang.String ACTION = "action"; field public static final java.lang.String ACTION_URI = "action_uri"; - field public static final java.lang.String PICTURE = "picture"; + field public static final java.lang.String PHOTO_FILE_ID = "photo_file_id"; + field public static final java.lang.String PHOTO_URI = "photo_uri"; field public static final java.lang.String SORT_INDEX = "sort_index"; field public static final java.lang.String STREAM_ITEM_ID = "stream_item_id"; } @@ -16253,7 +16255,6 @@ package android.provider { field public static final android.net.Uri CONTENT_PHOTO_URI; field public static final android.net.Uri CONTENT_URI; field public static final java.lang.String MAX_ITEMS = "max_items"; - field public static final java.lang.String PHOTO_MAX_BYTES = "photo_max_bytes"; } public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { -- cgit v1.1