[Android] Fix screen kept on on pause

Geoffrey Métais git at videolan.org
Thu Dec 3 17:50:41 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Dec  3 16:10:37 2015 +0100| [191bc3436fd129ed65e377c6df58c64d2feca24b] | committer: Geoffrey Métais

Fix screen kept on on pause

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

 vlc-android/res/layout/player.xml |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index a6fcd35..79b382d 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -2,8 +2,7 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    android:keepScreenOn="true" >
+    android:layout_height="fill_parent" >
 
     <!--
      the double FrameLayout is necessary here to do cropping on the bottom right
@@ -26,7 +25,8 @@
             <SurfaceView
                 android:id="@+id/player_surface"
                 android:layout_width="1dp"
-                android:layout_height="1dp" />
+                android:layout_height="1dp"
+                android:keepScreenOn="true" />
 
             <SurfaceView
                 android:id="@+id/subtitles_surface"



More information about the Android mailing list