mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 13:21:10 +01:00
Ported: Fix parsing of the keep_screen_on display setting.
- m4gr3d
d08e057194
This commit is contained in:
parent
07109aa595
commit
d0bb264cc2
@ -388,7 +388,8 @@ public class Pandemonium extends Fragment implements SensorEventListener, IDownl
|
||||
for (PandemoniumPlugin plugin : pluginRegistry.getAllPlugins()) {
|
||||
plugin.onRegisterPluginWithPandemoniumNative();
|
||||
}
|
||||
setKeepScreenOn("True".equals(PandemoniumLib.getGlobal("display/window/energy_saving/keep_screen_on")));
|
||||
|
||||
setKeepScreenOn(Boolean.parseBoolean(PandemoniumLib.getGlobal("display/window/energy_saving/keep_screen_on")));
|
||||
|
||||
// The Pandemonium Android plugins are setup on completion of PandemoniumLib.setup
|
||||
mainThreadHandler.post(() -> {
|
||||
|
Loading…
Reference in New Issue
Block a user