1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Android: Prevent activity from being destroyed when connecting an external keyboard

This commit is contained in:
reuk 2022-11-29 15:08:54 +00:00
parent 1f1d657260
commit 5ed4b19e4d
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

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