mirror of
https://github.com/godotengine/godot.git
synced 2025-02-17 00:01:03 +00:00
Android: Fix parsing keep_screen_on
setting
Boolean stringification changed in Godot 4.0. Fixes #67034. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
parent
0b27173919
commit
eb7c3e1ad3
@ -299,7 +299,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("true".equals(GodotLib.getGlobal("display/window/energy_saving/keep_screen_on")));
|
||||
});
|
||||
|
||||
// Include the returned non-null views in the Godot view hierarchy.
|
||||
|
Loading…
Reference in New Issue
Block a user