From 10852b036b2e80170c4c2306bb2da1ac3716b59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pomini?= Date: Fri, 24 Mar 2023 15:43:13 +0000 Subject: [PATCH] Mention MANAGE_EXTERNAL_STORAGE in wallpaper javadoc Bug: 275064467 Test: NA, just a javadoc change Change-Id: Ic9951c992d7451d50763db87f59e43ff17965cf7 --- core/java/android/app/WallpaperManager.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/java/android/app/WallpaperManager.java b/core/java/android/app/WallpaperManager.java index 540342b03f1ae..4d55fee35506b 100644 --- a/core/java/android/app/WallpaperManager.java +++ b/core/java/android/app/WallpaperManager.java @@ -858,6 +858,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -893,6 +895,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1147,6 +1151,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1176,6 +1182,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1214,6 +1222,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1247,6 +1257,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1287,6 +1299,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1314,6 +1328,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    * @@ -1458,6 +1474,8 @@ public class WallpaperManager { * (some versions of T may throw a {@code SecurityException}). *
  • From version U, this method should not be used * and will always throw a @code SecurityException}.
  • + *
  • Apps with {@link android.Manifest.permission#MANAGE_EXTERNAL_STORAGE} + * can still access the real wallpaper on all versions.
  • * *
    *