summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-05-23 10:54:46 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-23 10:54:46 -0700
commit835bc6835d42009999536f509ed1dd2f5359cf9b (patch)
treed18f6b8634141d738285fde5946a31ddf5a8fc52 /src
parent6673c21275772af55c9ae72cd78cbbe710edc023 (diff)
parent5dd57a27b013e5019d727d8badb604f319222ddf (diff)
downloadandroid_packages_apps_Gallery2-835bc6835d42009999536f509ed1dd2f5359cf9b.tar.gz
android_packages_apps_Gallery2-835bc6835d42009999536f509ed1dd2f5359cf9b.tar.bz2
android_packages_apps_Gallery2-835bc6835d42009999536f509ed1dd2f5359cf9b.zip
Merge "Remove the background in MovieActivity." into jb-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/app/MovieActivity.java4
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) {