Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Commit d835cd3

Browse files
Keep screen on when Glass Camera Sample app is in the foreground
Change-Id: I337f4e29fe1b51da70310a89b951da24e236dd2d
1 parent 7171f70 commit d835cd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Camera2Sample/app/src/main/res/layout/activity_main.xml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
style="@style/CameraStyle"
2020
android:layout_width="match_parent"
2121
android:layout_height="match_parent"
22+
android:keepScreenOn="true"
2223
tools:context=".MainActivity">
2324

2425
<fragment

0 commit comments

Comments
 (0)