summaryrefslogtreecommitdiffstats
path: root/photoviewer
diff options
context:
space:
mode:
authorAdam Copp <adamcopp@google.com>2012-09-06 14:14:05 +0100
committerAdam Copp <adamcopp@google.com>2012-09-06 15:42:47 +0100
commit3177158f2471395017567332b38a0af972325f10 (patch)
treedb593c16c396ac645836770d9e8197f7303a55d4 /photoviewer
parent762df274f96d6e4e176b0ee212fc2b508b5f247c (diff)
downloadandroid_frameworks_ex-3177158f2471395017567332b38a0af972325f10.tar.gz
android_frameworks_ex-3177158f2471395017567332b38a0af972325f10.tar.bz2
android_frameworks_ex-3177158f2471395017567332b38a0af972325f10.zip
Make setLightsOutMode protected
setLightsOutMode becomes protected so that subclasses can reliably hide and show ui elements when fullscreen mode is enabled. Change-Id: I891cfd80b515df72020d5df21427247615f04a74
Diffstat (limited to 'photoviewer')
-rw-r--r--photoviewer/src/com/android/ex/photo/PhotoViewActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
index ff3eb4c..53c14f8 100644
--- a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
+++ b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
@@ -445,7 +445,7 @@ public class PhotoViewActivity extends Activity implements
mHandler.removeCallbacks(mActionBarHideRunnable);
}
- private void setLightsOutMode(boolean enabled) {
+ protected void setLightsOutMode(boolean enabled) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
int flags = enabled
? View.SYSTEM_UI_FLAG_LOW_PROFILE