Ensure CryptKeeper runs with its own task affinity

- Otherwise, when it finishes and home is started in the same task,
  subsequent launches of Settings activities will be routed to the
  home task incorrectly.

Bug: 154890505
Bug: 150983816
Test: Flash & wipe device, finish SUW, launch a quick settings
      settings activity, ensure it starts in a new non-home task
Change-Id: I48db005a5c292f76ab23b34a194b209c6d1b2335
This commit is contained in:
Winson Chung
2020-04-24 11:14:31 -07:00
parent 450d0eb385
commit ec8f79925a

View File

@@ -2269,6 +2269,7 @@
android:configChanges="mnc|mcc|keyboard|keyboardHidden|uiMode"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="nosensor"
android:taskAffinity="com.android.settings.CryptKeeper"
android:process=":CryptKeeper">
<intent-filter android:priority="10">
<action android:name="android.intent.action.MAIN" />