Copy SDL's list of configChanges on Android.
On Android, Lime apps are SDL apps, so it makes sense to defer to them on this. https://github.com/libsdl-org/SDL/blob/main/android-project/app/src/main/AndroidManifest.xml
This commit is contained in:
@@ -490,7 +490,9 @@ class AndroidPlatform extends PlatformTarget
|
||||
"android:exported": "true",
|
||||
"android:launchMode": "singleTask",
|
||||
"android:label": project.meta.title,
|
||||
"android:configChanges": project.config.getArrayString("android.configChanges", ["keyboardHidden", "orientation", "screenSize", "screenLayout", "uiMode"]).join("|"),
|
||||
"android:configChanges": project.config.getArrayString("android.configChanges",
|
||||
["layoutDirection", "locale", "orientation", "uiMode", "screenLayout", "screenSize", "smallestScreenSize", "keyboard", "keyboardHidden", "navigation"])
|
||||
.join("|"),
|
||||
"android:screenOrientation": project.window.orientation == PORTRAIT ? "sensorPortrait" : (project.window.orientation == LANDSCAPE ? "sensorLandscape" : null)
|
||||
});
|
||||
context.ANDROID_ACCEPT_FILE_INTENT = project.config.getArrayString("android.accept-file-intent", []);
|
||||
|
||||
Reference in New Issue
Block a user