summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.java
diff options
context:
space:
mode:
authorNicolas Falliere <nicof@google.com>2012-06-18 17:21:06 -0700
committerNicolas Falliere <nicof@google.com>2012-06-18 17:22:34 -0700
commit9530e3a22d5ffa2019d1a5177b6a441d4d6d048b (patch)
tree87588c39f929b97140284b60b26e5be03618bcb0 /core/java/android/content/Context.java
parentec7c7ebf01121d17f7a12e827bd77c024eab54e8 (diff)
downloadframeworks_base-9530e3a22d5ffa2019d1a5177b6a441d4d6d048b.zip
frameworks_base-9530e3a22d5ffa2019d1a5177b6a441d4d6d048b.tar.gz
frameworks_base-9530e3a22d5ffa2019d1a5177b6a441d4d6d048b.tar.bz2
Added or fixed doctrings for required permissions.
Bug: 6591338 Change-Id: Ia2092f9994854701b5fa1425c371817367ae07ec
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r--core/java/android/content/Context.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 7588cda..621113d 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -813,6 +813,8 @@ public abstract class Context {
/**
* @deprecated Use {@link android.app.WallpaperManager#setBitmap(Bitmap)
* WallpaperManager.set()} instead.
+ * <p>This method requires the caller to hold the permission
+ * {@link android.Manifest.permission#SET_WALLPAPER}.
*/
@Deprecated
public abstract void setWallpaper(Bitmap bitmap) throws IOException;
@@ -820,6 +822,8 @@ public abstract class Context {
/**
* @deprecated Use {@link android.app.WallpaperManager#setStream(InputStream)
* WallpaperManager.set()} instead.
+ * <p>This method requires the caller to hold the permission
+ * {@link android.Manifest.permission#SET_WALLPAPER}.
*/
@Deprecated
public abstract void setWallpaper(InputStream data) throws IOException;
@@ -827,6 +831,8 @@ public abstract class Context {
/**
* @deprecated Use {@link android.app.WallpaperManager#clear
* WallpaperManager.clear()} instead.
+ * <p>This method requires the caller to hold the permission
+ * {@link android.Manifest.permission#SET_WALLPAPER}.
*/
@Deprecated
public abstract void clearWallpaper() throws IOException;