summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/WallpaperPickerActivity.java
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-10-04 14:38:05 -0400
committerJohn Spurlock <jspurlock@google.com>2013-10-06 16:08:58 -0400
commitd4507eefa37245c012a68d148aa5f14d4638f96d (patch)
treea26d6b05ca21c7afe2771fbbf45d1e15194c9883 /src/com/android/launcher3/WallpaperPickerActivity.java
parent835c0b74f0bb5fc7d66c561cc9f501f669b0d41a (diff)
downloadandroid_packages_apps_Trebuchet-d4507eefa37245c012a68d148aa5f14d4638f96d.tar.gz
android_packages_apps_Trebuchet-d4507eefa37245c012a68d148aa5f14d4638f96d.tar.bz2
android_packages_apps_Trebuchet-d4507eefa37245c012a68d148aa5f14d4638f96d.zip
Migrate to new WM.LP.flags based translucent decor API.
Update/rename common helper class TranslucentDecor to handle both apis so behavior is correct on old and new builds. Bug:10674960 Change-Id: Id3b2d523026e9e4f2f71f0eab404792207c6d8c7
Diffstat (limited to 'src/com/android/launcher3/WallpaperPickerActivity.java')
-rw-r--r--src/com/android/launcher3/WallpaperPickerActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/WallpaperPickerActivity.java b/src/com/android/launcher3/WallpaperPickerActivity.java
index 9702a3a67..82c9977c7 100644
--- a/src/com/android/launcher3/WallpaperPickerActivity.java
+++ b/src/com/android/launcher3/WallpaperPickerActivity.java
@@ -181,8 +181,8 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
protected void init() {
setContentView(R.layout.wallpaper_picker);
final WallpaperRootView root = (WallpaperRootView) findViewById(R.id.wallpaper_root);
- TransparentBars transparentBars = new TransparentBars(root);
- transparentBars.requestTransparentBars(true);
+ TranslucentDecor transparentDecor = new TranslucentDecor(root);
+ transparentDecor.requestTranslucentDecor(true);
mCropView = (CropView) findViewById(R.id.cropView);
mWallpaperStrip = findViewById(R.id.wallpaper_strip);