1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Android: Avoid restarting activities on system-wide theme change

This commit is contained in:
reuk 2025-09-01 10:55:26 +01:00
parent f72bad64d2
commit 33a735dfd8
No known key found for this signature in database
6 changed files with 21 additions and 14 deletions

View file

@ -1846,7 +1846,7 @@ private:
setAttributeIfNotPresent (*act, "android:name", getActivityClassString());
if (! act->hasAttribute ("android:configChanges"))
act->setAttribute ("android:configChanges", "keyboard|keyboardHidden|orientation|screenSize|navigation|smallestScreenSize|screenLayout");
act->setAttribute ("android:configChanges", "keyboard|keyboardHidden|orientation|screenSize|navigation|smallestScreenSize|screenLayout|uiMode");
if (androidScreenOrientation.get() != "unspecified")
{