diff --git a/docs/html/about/versions/marshmallow/android-6.0-changes.jd b/docs/html/about/versions/marshmallow/android-6.0-changes.jd index 6f44a8c821cc8..8c5a1b6b7c23a 100644 --- a/docs/html/about/versions/marshmallow/android-6.0-changes.jd +++ b/docs/html/about/versions/marshmallow/android-6.0-changes.jd @@ -18,7 +18,8 @@ page.image=images/cards/samples-new_2x.png
@@ -202,6 +203,14 @@ the framework. In devices running Android 6.0 (API level 23), that allows the fr
Android 5.1 (API level 22) or lower, only the {@link android.support.v7.app.ActionBar} modes are
supported.
+This release removes support for global bookmarks. The +{@code android.provider.Browser.getAllBookmarks()} and {@code android.provider.Browser.saveBookmark()} +methods are now removed. Likewise, the {@code READ_HISTORY_BOOKMARKS} and {@code WRITE_HISTORY_BOOKMARKS} +permissions are removed. If your app targets Android 6.0 (API level 23) or higher, don't access +bookmarks from the global provider or use the bookmark permissions. Instead, your app should store +bookmarks data internally.
+With this release, the
Android Keystore provider no longer supports
diff --git a/docs/html/tools/debugging/annotations.jd b/docs/html/tools/debugging/annotations.jd
index b0d5a228ac701..fbdb9e4bbfd52 100644
--- a/docs/html/tools/debugging/annotations.jd
+++ b/docs/html/tools/debugging/annotations.jd
@@ -266,19 +266,17 @@ permissions, use the allOf attribute. The following example annotat
public abstract void setWallpaper(Bitmap bitmap) throws IOException;
-
This example requires the caller of the
-updateVisitedHistory method to have both read and write bookmark history permissions.
This example requires the caller of the {@code copyFile()} method to have both read and write +permissions to external storage:
@RequiresPermission(allOf = {
- Manifest.permission.READ_HISTORY_BOOKMARKS,
- Manifest.permission.WRITE_HISTORY_BOOKMARKS})
-public static final void updateVisitedHistory(ContentResolver cr, String url, boolean real) {
+ Manifest.permission.READ_EXTERNAL_STORAGE,
+ Manifest.permission.WRITE_EXTERNAL_STORAGE})
+public static final void copyFile(String dest, String source) {
...
}
-
Use the @CheckResults annotation to
validate that a method's result or return value is actually used. The following example annotates