summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/ActivityState.java
diff options
context:
space:
mode:
authorYuli Huang <yuli@google.com>2012-03-01 17:39:47 +0800
committerYuli Huang <yuli@google.com>2012-03-01 17:39:47 +0800
commita787d2020e84f078607832ed109ee4b727fc3a9c (patch)
treebac966264ffb84f6bdf3d68985ab6d5b6c1cd237 /src/com/android/gallery3d/app/ActivityState.java
parent3976dea546ab53e050f2388a0a75916bbcfcd6d0 (diff)
downloadandroid_packages_apps_Snap-a787d2020e84f078607832ed109ee4b727fc3a9c.tar.gz
android_packages_apps_Snap-a787d2020e84f078607832ed109ee4b727fc3a9c.tar.bz2
android_packages_apps_Snap-a787d2020e84f078607832ed109ee4b727fc3a9c.zip
Fix a wrong flag value.
Change-Id: I7450dc31bb307b19dcfd34ee7df83126df1d294e
Diffstat (limited to 'src/com/android/gallery3d/app/ActivityState.java')
-rw-r--r--src/com/android/gallery3d/app/ActivityState.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/app/ActivityState.java b/src/com/android/gallery3d/app/ActivityState.java
index 0ed5f50cf..8cff1326e 100644
--- a/src/com/android/gallery3d/app/ActivityState.java
+++ b/src/com/android/gallery3d/app/ActivityState.java
@@ -34,9 +34,9 @@ import android.view.WindowManager;
import com.android.gallery3d.ui.GLView;
abstract public class ActivityState {
- public static final int FLAG_HIDE_ACTION_BAR = 1;
- public static final int FLAG_HIDE_STATUS_BAR = 2;
- public static final int FLAG_SCREEN_ON = 3;
+ protected static final int FLAG_HIDE_ACTION_BAR = 1;
+ protected static final int FLAG_HIDE_STATUS_BAR = 2;
+ protected static final int FLAG_SCREEN_ON = 4;
private static final int SCREEN_ON_FLAGS = (
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON