diff options
| author | Dianne Hackborn <hackbod@google.com> | 2012-04-19 18:00:04 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2012-04-19 18:00:04 -0700 |
| commit | 7df7d2022d9bebc21a13dcb7ddacaa61f9c2e38e (patch) | |
| tree | ba66ba6c9223f2c53786cc8bcf086af0ba885e56 /core/java/android | |
| parent | 661f362a2c531c46fdce5359b176a30ba7d16e1f (diff) | |
| download | frameworks_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/android')
| -rw-r--r-- | core/java/android/app/WallpaperManager.java | 17 |
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. */ |
