[Android] VideoPlayerActivity: minor reflow

Edward Wang git at videolan.org
Sat Nov 17 15:22:51 CET 2012


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Nov 17 09:22:44 2012 -0500| [73ac90cda0bd37bc6dd114933174a5964db43cf5] | committer: Edward Wang

VideoPlayerActivity: minor reflow

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=73ac90cda0bd37bc6dd114933174a5964db43cf5
---

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java      |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index eb6d0a3..af1433f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -444,7 +444,8 @@ public class VideoPlayerActivity extends Activity {
      * Lock screen rotation
      */
     private void lockScreen() {
-        if (mScreenOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR) setRequestedOrientation(getScreenOrientation());
+        if(mScreenOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR)
+            setRequestedOrientation(getScreenOrientation());
         showInfo(R.string.locked, 1000);
         mLock.setBackgroundResource(R.drawable.ic_lock_glow);
         hideOverlay(true);
@@ -454,7 +455,8 @@ public class VideoPlayerActivity extends Activity {
      * Remove screen lock
      */
     private void unlockScreen() {
-        if (mScreenOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR) setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
+        if(mScreenOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR)
+            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
         showInfo(R.string.unlocked, 1000);
         mLock.setBackgroundResource(R.drawable.ic_lock);
         mShowing = false;



More information about the Android mailing list