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:
parent
f72bad64d2
commit
33a735dfd8
6 changed files with 21 additions and 14 deletions
|
|
@ -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")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue