From 4f2f3f4cf0b508b5df552d9a53e597de081afff2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 11 Jun 2023 10:45:38 +0200 Subject: [PATCH] Fix android editor build. --- .../java/net/relintai/pandemonium/editor/PandemoniumEditor.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt b/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt index 79f96d83c..c99470500 100644 --- a/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt +++ b/platform/android/java/editor/src/main/java/net/relintai/pandemonium/editor/PandemoniumEditor.kt @@ -33,6 +33,7 @@ package net.relintai.pandemonium.editor import net.relintai.pandemonium.pandemonium.FullScreenPandemoniumApp import net.relintai.pandemonium.pandemonium.utils.PermissionsUtil import net.relintai.pandemonium.pandemonium.utils.ProcessPhoenix +import net.relintai.pandemonium.pandemonium.PandemoniumLib import android.Manifest import android.app.ActivityManager @@ -236,7 +237,7 @@ open class PandemoniumEditor : FullScreenPandemoniumApp() { private fun shouldGameLaunchAdjacent(): Boolean { return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { try { - when (Integer.parseInt(GodotLib.getEditorSetting("run/window_placement/android_window"))) { + when (Integer.parseInt(PandemoniumLib.getEditorSetting("run/window_placement/android_window"))) { ANDROID_WINDOW_SAME_AS_EDITOR -> false ANDROID_WINDOW_SIDE_BY_SIDE_WITH_EDITOR -> true else -> {