summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2009-11-09 15:38:20 -0800
committerMarco Nelissen <marcone@google.com>2009-11-09 17:19:18 -0800
commitc1664042a632eb25f68487eb54ca8310be90da65 (patch)
tree0ea81a29e7a5173cb5225becdc1e08e82299234f /src
parent90e5569f45c3acda115ac5128248e0911ceaabcf (diff)
downloadandroid_packages_wallpapers_LivePicker-c1664042a632eb25f68487eb54ca8310be90da65.zip
android_packages_wallpapers_LivePicker-c1664042a632eb25f68487eb54ca8310be90da65.tar.gz
android_packages_wallpapers_LivePicker-c1664042a632eb25f68487eb54ca8310be90da65.tar.bz2
Update wallpaper picker to new API
Diffstat (limited to 'src')
-rw-r--r--src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
index 0e1c034..cbc783d 100644
--- a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
+++ b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
@@ -93,6 +93,7 @@ public class LiveWallpaperPreview extends Activity {
try {
mWallpaperManager.getIWallpaperManager().setWallpaperComponent(
mWallpaperIntent.getComponent());
+ mWallpaperManager.setWallpaperOffsetSteps(0.5f, 0.0f);
mWallpaperManager.setWallpaperOffsets(v.getRootView().getWindowToken(), 0.5f, 0.0f);
setResult(RESULT_OK);
} catch (RemoteException e) {