Skip to content

Commit c592e8e

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #4554429: API REVIEW: deprecate Live Folders"
2 parents 52f159c + c6acd68 commit c592e8e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

api/current.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16775,7 +16775,7 @@ package android.provider {
1677516775
field public static final android.net.Uri CONTENT_URI;
1677616776
}
1677716777

16778-
public final class LiveFolders implements android.provider.BaseColumns {
16778+
public final deprecated class LiveFolders implements android.provider.BaseColumns {
1677916779
field public static final java.lang.String ACTION_CREATE_LIVE_FOLDER = "android.intent.action.CREATE_LIVE_FOLDER";
1678016780
field public static final java.lang.String DESCRIPTION = "description";
1678116781
field public static final int DISPLAY_MODE_GRID = 1; // 0x1

core/java/android/provider/LiveFolders.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,17 @@
162162
* </tr>
163163
* </tbody>
164164
* </table>
165+
*
166+
* @deprecated Live folders are no longer supported by Android. These have been
167+
* replaced by the new
168+
* <a href="{@docRoot}guide/topics/appwidgets/index.html#collections">AppWidget Collection</a>
169+
* APIs introduced in {@link android.os.Build.VERSION_CODES#HONEYCOMB}. These provide
170+
* all of the features of live folders plus many more. The use of live folders is greatly
171+
* discouraged because of security issues they introduce -- publishing a live folder requires
172+
* making all data show for the live folder available to all applications with no
173+
* permissions protecting it.
165174
*/
175+
@Deprecated
166176
public final class LiveFolders implements BaseColumns {
167177
/**
168178
* <p>Content provider column.</p>

0 commit comments

Comments
 (0)