diff options
author | Nicolas Falliere <nicof@google.com> | 2012-06-18 17:45:40 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-06-18 17:45:40 -0700 |
commit | 4d2bef3f850e75744ade93f95615c7cb4a7fefa0 (patch) | |
tree | c00ce4871ecaf2faaea01375120850043185510a /core/java/android/app/WallpaperManager.java | |
parent | 3eda1903c709904da9a1668b0ba9c46f13cd9f80 (diff) | |
parent | 277c09f6c16c4adfd50407e2fa4dbf61a0e06e55 (diff) | |
download | frameworks_base-4d2bef3f850e75744ade93f95615c7cb4a7fefa0.zip frameworks_base-4d2bef3f850e75744ade93f95615c7cb4a7fefa0.tar.gz frameworks_base-4d2bef3f850e75744ade93f95615c7cb4a7fefa0.tar.bz2 |
am 277c09f6: am 56bb344c: Merge "Added or fixed doctrings for required permissions." into jb-dev
* commit '277c09f6c16c4adfd50407e2fa4dbf61a0e06e55':
Added or fixed doctrings for required permissions.
Diffstat (limited to 'core/java/android/app/WallpaperManager.java')
-rw-r--r-- | core/java/android/app/WallpaperManager.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/app/WallpaperManager.java b/core/java/android/app/WallpaperManager.java index 3824f44..c131549 100644 --- a/core/java/android/app/WallpaperManager.java +++ b/core/java/android/app/WallpaperManager.java @@ -468,6 +468,9 @@ public class WallpaperManager { * wallpaper; it must be a valid PNG or JPEG image. On success, the intent * {@link Intent#ACTION_WALLPAPER_CHANGED} is broadcast. * + * <p>This method requires the caller to hold the permission + * {@link android.Manifest.permission#SET_WALLPAPER}. + * * @param resid The bitmap to save. * * @throws IOException If an error occurs reverting to the default @@ -504,6 +507,9 @@ public class WallpaperManager { * converted to a PNG and stored as the wallpaper. On success, the intent * {@link Intent#ACTION_WALLPAPER_CHANGED} is broadcast. * + * <p>This method requires the caller to hold the permission + * {@link android.Manifest.permission#SET_WALLPAPER}. + * * @param bitmap The bitmap to save. * * @throws IOException If an error occurs reverting to the default @@ -540,6 +546,9 @@ public class WallpaperManager { * image. On success, the intent {@link Intent#ACTION_WALLPAPER_CHANGED} * is broadcast. * + * <p>This method requires the caller to hold the permission + * {@link android.Manifest.permission#SET_WALLPAPER}. + * * @param data A stream containing the raw data to install as a wallpaper. * * @throws IOException If an error occurs reverting to the default @@ -645,6 +654,9 @@ public class WallpaperManager { * <b>retrieve</b> the suggested size so they can construct a wallpaper * that matches it. * + * <p>This method requires the caller to hold the permission + * {@link android.Manifest.permission#SET_WALLPAPER_HINTS}. + * * @param minimumWidth Desired minimum width * @param minimumHeight Desired minimum height */ @@ -746,6 +758,9 @@ public class WallpaperManager { * wallpaper. On success, the intent {@link Intent#ACTION_WALLPAPER_CHANGED} * is broadcast. * + * <p>This method requires the caller to hold the permission + * {@link android.Manifest.permission#SET_WALLPAPER}. + * * @throws IOException If an error occurs reverting to the default * wallpaper. */ |