mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Projucer (Android): Avoid restarting the activity on window config changes
This commit is contained in:
parent
cabb396c83
commit
5e44c34377
5 changed files with 5 additions and 5 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");
|
||||
act->setAttribute ("android:configChanges", "keyboard|keyboardHidden|orientation|screenSize|navigation|smallestScreenSize|screenLayout");
|
||||
|
||||
if (androidScreenOrientation.get() == "landscape")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue