You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix parsing of the keep_screen_on display setting
(cherry picked from commit 3c75887d41)
This commit is contained in:
committed by
Rémi Verschelde
parent
477d24b6d1
commit
d08e057194
@@ -392,7 +392,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
|
||||
for (GodotPlugin plugin : pluginRegistry.getAllPlugins()) {
|
||||
plugin.onRegisterPluginWithGodotNative();
|
||||
}
|
||||
setKeepScreenOn("True".equals(GodotLib.getGlobal("display/window/energy_saving/keep_screen_on")));
|
||||
setKeepScreenOn(Boolean.parseBoolean(GodotLib.getGlobal("display/window/energy_saving/keep_screen_on")));
|
||||
|
||||
// The Godot Android plugins are setup on completion of GodotLib.setup
|
||||
mainThreadHandler.post(() -> {
|
||||
|
||||
Reference in New Issue
Block a user