summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AbstractGalleryActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/app/AbstractGalleryActivity.java')
-rw-r--r--src/com/android/gallery3d/app/AbstractGalleryActivity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
index 76649cab4..88ac028e1 100644
--- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java
+++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -303,4 +303,9 @@ public class AbstractGalleryActivity extends Activity implements GalleryContext
public PanoramaViewHelper getPanoramaViewHelper() {
return mPanoramaViewHelper;
}
+
+ protected boolean isFullscreen() {
+ return (getWindow().getAttributes().flags
+ & WindowManager.LayoutParams.FLAG_FULLSCREEN) != 0;
+ }
}