diff options
-rw-r--r-- | api/current.txt | 2 | ||||
-rw-r--r-- | core/java/android/provider/LiveFolders.java | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt index 52b28f5..f380cf9 100644 --- a/api/current.txt +++ b/api/current.txt @@ -16775,7 +16775,7 @@ package android.provider { field public static final android.net.Uri CONTENT_URI; } - public final class LiveFolders implements android.provider.BaseColumns { + public final deprecated class LiveFolders implements android.provider.BaseColumns { field public static final java.lang.String ACTION_CREATE_LIVE_FOLDER = "android.intent.action.CREATE_LIVE_FOLDER"; field public static final java.lang.String DESCRIPTION = "description"; field public static final int DISPLAY_MODE_GRID = 1; // 0x1 diff --git a/core/java/android/provider/LiveFolders.java b/core/java/android/provider/LiveFolders.java index 7856bab..cf8ad46 100644 --- a/core/java/android/provider/LiveFolders.java +++ b/core/java/android/provider/LiveFolders.java @@ -162,7 +162,17 @@ import android.annotation.SdkConstant; * </tr> * </tbody> * </table> + * + * @deprecated Live folders are no longer supported by Android. These have been + * replaced by the new + * <a href="{@docRoot}guide/topics/appwidgets/index.html#collections">AppWidget Collection</a> + * APIs introduced in {@link android.os.Build.VERSION_CODES#HONEYCOMB}. These provide + * all of the features of live folders plus many more. The use of live folders is greatly + * discouraged because of security issues they introduce -- publishing a live folder requires + * making all data show for the live folder available to all applications with no + * permissions protecting it. */ +@Deprecated public final class LiveFolders implements BaseColumns { /** * <p>Content provider column.</p> |