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:
parent
1f1d657260
commit
5ed4b19e4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue