diff options
author | Owen Lin <owenlin@google.com> | 2012-05-22 14:19:31 -0700 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-05-23 00:19:24 -0700 |
commit | 8f3c2a770d1877ea882a8b97b1f39bfd492d3cfe (patch) | |
tree | fe7923aead7e5f2b258deee2dfc0cb11aa008184 /src | |
parent | 048ca675a9e659fb0d3b150880d71cd42770023d (diff) | |
download | android_packages_apps_Snap-8f3c2a770d1877ea882a8b97b1f39bfd492d3cfe.tar.gz android_packages_apps_Snap-8f3c2a770d1877ea882a8b97b1f39bfd492d3cfe.tar.bz2 android_packages_apps_Snap-8f3c2a770d1877ea882a8b97b1f39bfd492d3cfe.zip |
Remove the background in MovieActivity.
This is a regression. We add the background for bug 6494653.
So we need to remove it in MovieActivity as well.
bug:6491674
Change-Id: I6fb692fa778a1200ffbed741ca0996cb7eeef32f
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) { |