From 3177158f2471395017567332b38a0af972325f10 Mon Sep 17 00:00:00 2001 From: Adam Copp Date: Thu, 6 Sep 2012 14:14:05 +0100 Subject: Make setLightsOutMode protected setLightsOutMode becomes protected so that subclasses can reliably hide and show ui elements when fullscreen mode is enabled. Change-Id: I891cfd80b515df72020d5df21427247615f04a74 --- photoviewer/src/com/android/ex/photo/PhotoViewActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'photoviewer') 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 -- cgit v1.2.3