From bb9b64af8112fbf590e0619cea53ea00df7ec6d8 Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Sat, 11 Jun 2022 20:28:41 -0400 Subject: [PATCH] Suppress `uiMode` configuration changes. When the user switches between dark and light themes, Android destroys and recreates the activity. However, Lime activities can't be recreated like this, and just close instead. Since we don't actually use the system theme, there's no reason to do this. Simplest solution is to suppress it. https://developer.android.com/guide/topics/resources/runtime-changes https://developer.android.com/guide/topics/ui/look-and-feel/darktheme#config-changes --- templates/android/template/app/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/android/template/app/src/main/AndroidManifest.xml b/templates/android/template/app/src/main/AndroidManifest.xml index 22bb94f94..729e80391 100644 --- a/templates/android/template/app/src/main/AndroidManifest.xml +++ b/templates/android/template/app/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ ::end:: - +