summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-04-19 18:00:04 -0700
committerDianne Hackborn <hackbod@google.com>2012-04-19 18:00:04 -0700
commit7df7d2022d9bebc21a13dcb7ddacaa61f9c2e38e (patch)
treeba66ba6c9223f2c53786cc8bcf086af0ba885e56 /core/java
parent661f362a2c531c46fdce5359b176a30ba7d16e1f (diff)
downloadframeworks_base-7df7d2022d9bebc21a13dcb7ddacaa61f9c2e38e.zip
frameworks_base-7df7d2022d9bebc21a13dcb7ddacaa61f9c2e38e.tar.gz
frameworks_base-7df7d2022d9bebc21a13dcb7ddacaa61f9c2e38e.tar.bz2
Fix issue #4499996: LiveWallpaperPreview activity intent filter
Change-Id: I5fc71503d2c59c907da954dbda3587394e6405bf
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/WallpaperManager.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/java/android/app/WallpaperManager.java b/core/java/android/app/WallpaperManager.java
index c057d66..6f19934 100644
--- a/core/java/android/app/WallpaperManager.java
+++ b/core/java/android/app/WallpaperManager.java
@@ -67,6 +67,23 @@ public class WallpaperManager {
= "android.service.wallpaper.LIVE_WALLPAPER_CHOOSER";
/**
+ * Directly launch live wallpaper preview, allowing the user to immediately
+ * confirm to switch to a specific live wallpaper. You must specify
+ * {@link #EXTRA_LIVE_WALLPAPER_COMPONENT} with the ComponentName of
+ * a live wallpaper component that is to be shown.
+ */
+ public static final String ACTION_CHANGE_LIVE_WALLPAPER
+ = "android.service.wallpaper.CHANGE_LIVE_WALLPAPER";
+
+ /**
+ * Extra in {@link #ACTION_CHANGE_LIVE_WALLPAPER} that specifies the
+ * ComponentName of a live wallpaper that should be shown as a preview,
+ * for the user to confirm.
+ */
+ public static final String EXTRA_LIVE_WALLPAPER_COMPONENT
+ = "android.service.wallpaper.extra.LIVE_WALLPAPER_COMPONENT";
+
+ /**
* Manifest entry for activities that respond to {@link Intent#ACTION_SET_WALLPAPER}
* which allows them to provide a custom large icon associated with this action.
*/