summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-09-09 17:11:11 (GMT)
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-09 17:11:11 (GMT)
commit86f36f4248fda943634e1e0cf81cbeb2d8ff1402 (patch)
tree9dfbec04e83dad11d9a860a6c81c792dbd9bec46
parent4978b71dc480df8d148e00937a45230b0c112d1f (diff)
parentfbec10a63bf91ab220b4e135030f83592e3afd91 (diff)
downloadandroid_packages_wallpapers_LivePicker-86f36f4248fda943634e1e0cf81cbeb2d8ff1402.zip
android_packages_wallpapers_LivePicker-86f36f4248fda943634e1e0cf81cbeb2d8ff1402.tar.gz
android_packages_wallpapers_LivePicker-86f36f4248fda943634e1e0cf81cbeb2d8ff1402.tar.bz2
am fbec10a6: am 95beb6b0: am 06f5f007: Track framework changes.
* commit 'fbec10a63bf91ab220b4e135030f83592e3afd91': Track framework changes.
-rw-r--r--src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
index 55e0d24..72ba27a 100644
--- a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
+++ b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java
@@ -20,6 +20,7 @@ import android.app.Activity;
import android.app.WallpaperManager;
import android.app.WallpaperInfo;
import android.app.Dialog;
+import android.graphics.Rect;
import android.service.wallpaper.IWallpaperConnection;
import android.service.wallpaper.IWallpaperService;
import android.service.wallpaper.IWallpaperEngine;
@@ -269,7 +270,8 @@ public class LiveWallpaperPreview extends Activity {
final View root = view.getRootView();
mService.attach(this, view.getWindowToken(),
WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY,
- true, root.getWidth(), root.getHeight());
+ true, root.getWidth(), root.getHeight(),
+ new Rect(0, 0, 0, 0));
} catch (RemoteException e) {
Log.w(LOG_TAG, "Failed attaching wallpaper; clearing", e);
}