File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -112,14 +112,18 @@ the content provider does. It's useful when you are interacting with content pro
112112app.</p>
113113
114114
115- <h3 id="LiveWallpapers">Live Wallpapers</h3>
116115
117- <p>New intent protocol to directly launch the live wallpaper preview activity, so the user can
118- select a specified live wallpaper as the new wallpaper. This allows live wallpapers to provide an
119- easy path for the user to select the wallpaper from its own UI, without forcing the user to leave
120- the app and navigate through the Home wallpaper picker.</p>
116+ <h3 id="LiveWallpapers">Live Wallpapers</h3>
121117
118+ <p>New intent protocol to directly launch the live wallpaper preview activity so you can help
119+ users easily select your live wallpaper without forcing them to leave
120+ your app and navigate through the Home wallpaper picker.</p>
122121
122+ <p>To launch the live wallpaper picker, call {@link android.content.Context#startActivity
123+ startActivity()} with an {@link android.content.Intent} using
124+ {@link android.app.WallpaperManager#ACTION_CHANGE_LIVE_WALLPAPER} and an extra
125+ that specifies your live wallpaper {@link android.content.ComponentName} as a string in {@link
126+ android.app.WallpaperManager#EXTRA_LIVE_WALLPAPER_COMPONENT}.</p>
123127
124128
125129
You can’t perform that action at this time.
0 commit comments