Merge "Fix issue #4554429: API REVIEW: deprecate Live Folders"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c592e8e61a
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user