diff options
author | Gyumin Sim <gyumin@google.com> | 2019-01-28 15:47:27 +0900 |
---|---|---|
committer | Gyumin Sim <gyumin@google.com> | 2019-01-30 13:23:27 +0900 |
commit | c3009aa0e378c0563925711106600b1f617437d7 (patch) | |
tree | a8d4641f8b6901c88d723d6f8dced2861a424e4a /res | |
parent | 370dc1b31cdbfa9751a1b4d4cfd9f9f8d5e320b2 (diff) | |
download | UniversalMediaPlayer-c3009aa0e378c0563925711106600b1f617437d7.tar.gz |
Keep the screen on in video player activity
Bug: 123037287
Test: Manually
Change-Id: Ia78fc9fe6bc4400b436a10a8d391f79d10ac4f4a
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/activity_video_player.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/activity_video_player.xml b/res/layout/activity_video_player.xml index 1eac3bd..dbd9f4e 100644 --- a/res/layout/activity_video_player.xml +++ b/res/layout/activity_video_player.xml @@ -19,7 +19,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:keepScreenOn="true"> <androidx.media2.widget.VideoView android:id="@+id/video_view" |