[Android] Secondary Display : Fix sleep issue

Alexandre Perraud git at videolan.org
Tue Dec 29 17:34:11 CET 2015


vlc-android | branch: 1.7.x | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Dec 29 17:30:26 2015 +0100| [3abd076f56a6a61e52e36c8e46109873e55dc9e5] | committer: Jean-Baptiste Kempf

Secondary Display : Fix sleep issue

(cherry picked from commit 2dbd66d90b9a7b84cf4e7d77303815d9c91e7585)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> https://code.videolan.org/videolan/vlc-android/commit/3abd076f56a6a61e52e36c8e46109873e55dc9e5
---

 vlc-android/res/layout/player_remote.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/player_remote.xml b/vlc-android/res/layout/player_remote.xml
index f60f2fe..870bdcc 100644
--- a/vlc-android/res/layout/player_remote.xml
+++ b/vlc-android/res/layout/player_remote.xml
@@ -2,7 +2,8 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
-    android:background="@color/black">
+    android:background="@color/black"
+    android:keepScreenOn="true" >
 
     <!--
      the double FrameLayout is necessary here to do cropping on the bottom right



More information about the Android mailing list