[Android] Secondary Display : Fix sleep issue

Alexandre Perraud git at videolan.org
Tue Dec 29 17:32:37 CET 2015


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Dec 29 17:30:26 2015 +0100| [2dbd66d90b9a7b84cf4e7d77303815d9c91e7585] | committer: Alexandre Perraud

Secondary Display : Fix sleep issue

> https://code.videolan.org/videolan/vlc-android/commit/2dbd66d90b9a7b84cf4e7d77303815d9c91e7585
---

 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