Skip to content

Commit 4e0b686

Browse files
committed
- add keep screen on hint to android
1 parent 9bcdb2f commit 4e0b686

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/pen/source/android/os.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ FILE* stderr = NULL;
5151
// horrors of getting jvm methods, name mangling etc
5252
// applicationId not in manifest
5353
// install gradle. to build
54+
// API access service account hell
55+
// https://help.radio.co/en/articles/6232140-how-to-get-your-google-play-json-key
5456

5557
// ONHOLD
5658
// backgrounding

core/template/android/activity/pen_activity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ protected void onCreate(Bundle arg0) {
207207

208208
getWindow().setDecorFitsSystemWindows(false);
209209
getWindow().setStatusBarColor(android.graphics.Color.TRANSPARENT);
210+
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
210211

211212
init(this);
212213
FMOD.init(this);

0 commit comments

Comments
 (0)