Fallback Home doesn't restart on keyboard change

Fallback Home gets launched multiple times due to
CONFIG_KEYBOARD_HIDDEN, which is irrelevant for it. So we mark the
activity to not be restarted on this config change.

Test: manual
Bug: 215439232
Change-Id: I558091979840a6b664e39f6b8bd22957d1b2b729
This commit is contained in:
Adam Bookatz
2022-02-24 16:45:28 -08:00
parent d3a7ec88a0
commit eb89d146f2

View File

@@ -2885,7 +2885,8 @@
android:screenOrientation="nosensor" android:screenOrientation="nosensor"
android:taskAffinity="com.android.settings.FallbackHome" android:taskAffinity="com.android.settings.FallbackHome"
android:exported="true" android:exported="true"
android:theme="@style/FallbackHome"> android:theme="@style/FallbackHome"
android:configChanges="keyboardHidden">
<intent-filter android:priority="-1000"> <intent-filter android:priority="-1000">
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.HOME" />