diff options
author | Chih-Chung Chang <chihchung@google.com> | 2012-05-23 10:54:46 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-23 10:54:46 -0700 |
commit | 527422cf0c871460d050f7935f594620f64397fc (patch) | |
tree | cdf6c0006a72efff36bedb965475603b7b217b21 /src | |
parent | 3066fecc8500acba68b35e8a4d5804405ae863d9 (diff) | |
parent | 8f3c2a770d1877ea882a8b97b1f39bfd492d3cfe (diff) | |
download | android_packages_apps_Snap-527422cf0c871460d050f7935f594620f64397fc.tar.gz android_packages_apps_Snap-527422cf0c871460d050f7935f594620f64397fc.tar.bz2 android_packages_apps_Snap-527422cf0c871460d050f7935f594620f64397fc.zip |
Merge "Remove the background in MovieActivity." into jb-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/app/MovieActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/MovieActivity.java b/src/com/android/gallery3d/app/MovieActivity.java index 8dd69e42a..b0e53c405 100644 --- a/src/com/android/gallery3d/app/MovieActivity.java +++ b/src/com/android/gallery3d/app/MovieActivity.java @@ -96,6 +96,10 @@ public class MovieActivity extends Activity { winParams.buttonBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_OFF; winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; win.setAttributes(winParams); + + // We set the background in the theme to have the launching animation. + // But for the performance (and battery), we remove the background here. + win.setBackgroundDrawable(null); } private void initializeActionBar(Intent intent) { |