summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2012-02-09 06:47:12 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-09 06:47:12 -0800
commit49d11f8bace6432c5246d832966a3b15b7e54933 (patch)
treef5a695b4189313056dc934825accf35d4c0437c6 /src/com/android/gallery3d/app
parentf948355db86dde8531088d49c69a4ac0a5d1231e (diff)
parentfa011a292ea27fd6a885f980596e959ca83b9a4f (diff)
downloadandroid_packages_apps_Gallery2-49d11f8bace6432c5246d832966a3b15b7e54933.tar.gz
android_packages_apps_Gallery2-49d11f8bace6432c5246d832966a3b15b7e54933.tar.bz2
android_packages_apps_Gallery2-49d11f8bace6432c5246d832966a3b15b7e54933.zip
Merge "Fix indent."
Diffstat (limited to 'src/com/android/gallery3d/app')
-rw-r--r--src/com/android/gallery3d/app/AbstractGalleryActivity.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
index b3856ad4d..ac9774af1 100644
--- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java
+++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -215,11 +215,11 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity
// Shows status bar in portrait view, hide in landscape view
private void toggleStatusBarByOrientation() {
- Window win = getWindow();
- if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) {
- win.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
- } else {
- win.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
- }
+ Window win = getWindow();
+ if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) {
+ win.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
+ } else {
+ win.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
+ }
}
}