[Android] Fix screen kept on on pause
Geoffrey Métais
git at videolan.org
Thu Dec 3 18:17:17 CET 2015
vlc-ports/android | branch: 1.7.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Dec 3 16:10:37 2015 +0100| [a7ef6e209b6fe2ebd611613bdf573a27f8d8ba10] | committer: Geoffrey Métais
Fix screen kept on on pause
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a7ef6e209b6fe2ebd611613bdf573a27f8d8ba10
---
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 fe7e383..080e2af 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