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:
@@ -2269,6 +2269,7 @@
|
|||||||
android:configChanges="mnc|mcc|keyboard|keyboardHidden|uiMode"
|
android:configChanges="mnc|mcc|keyboard|keyboardHidden|uiMode"
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:screenOrientation="nosensor"
|
android:screenOrientation="nosensor"
|
||||||
|
android:taskAffinity="com.android.settings.CryptKeeper"
|
||||||
android:process=":CryptKeeper">
|
android:process=":CryptKeeper">
|
||||||
<intent-filter android:priority="10">
|
<intent-filter android:priority="10">
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|||||||
Reference in New Issue
Block a user