Android: Don't restart activities on keyboard change

This commit is contained in:
Connor McLaughlin 2021-03-21 02:47:19 +10:00
parent 4ab283a2ae
commit 93087d3c45

View File

@ -27,7 +27,7 @@
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".EmulationActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:exported="true"
android:immersive="true"
android:label="@string/title_activity_emulation"
@ -39,7 +39,7 @@
</activity>
<activity
android:name=".SettingsActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:label="@string/title_activity_settings"
android:parentActivityName=".MainActivity">
<meta-data
@ -48,7 +48,7 @@
</activity>
<activity
android:name=".ControllerSettingsActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:label="@string/controller_mapping_activity_title"
android:parentActivityName=".MainActivity">
<meta-data
@ -57,7 +57,7 @@
</activity>
<activity
android:name=".GamePropertiesActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:label="@string/activity_game_properties"
android:parentActivityName=".MainActivity">
<meta-data
@ -66,7 +66,7 @@
</activity>
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>