diff options
author | volzhs <volzhs@gmail.com> | 2018-07-16 23:09:22 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2018-07-17 18:45:57 +0900 |
commit | d18235bc38d4091a27e70f28b19dd48766c9d444 (patch) | |
tree | 3b369ee3f2d6f1534aa2a80c0b71957d4b6140f9 /platform/android | |
parent | c0c243ac5c0a8b03a64fdb18b0e647ae6427279c (diff) |
Fix keep screen on property path for Android/iOS/UWP
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/java/src/org/godotengine/godot/Godot.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java/src/org/godotengine/godot/Godot.java b/platform/android/java/src/org/godotengine/godot/Godot.java index 8a2d789dc5..ef798fc790 100644 --- a/platform/android/java/src/org/godotengine/godot/Godot.java +++ b/platform/android/java/src/org/godotengine/godot/Godot.java @@ -297,7 +297,7 @@ public class Godot extends Activity implements SensorEventListener, IDownloaderC runOnUiThread(new Runnable() { @Override public void run() { - view.setKeepScreenOn("True".equals(GodotLib.getGlobal("display/driver/keep_screen_on"))); + view.setKeepScreenOn("True".equals(GodotLib.getGlobal("display/window/energy_saving/keep_screen_on"))); } }); } |