DO NOT MERGE - Fixed SessionLifecycleTest so it always finishes OutOfProcessLoginActivity.
Otherwise it could cause failures on other tests when the other test activity
finishes, the focus goes back to OutOfProcessLoginActivity, and the dataset
picker is shown.
Bug: 111622428
Bug: 37566627
Test: atest \
CtsAutoFillServiceTestCases:SessionLifecycleTest#testDatasetVisibleWhileAutofilledAppIsLifecycled \
CtsAutoFillServiceTestCases:AutofillValueTest#autofillZeroListValueToSpinner \
CtsAutoFillServiceTestCases:SimpleSaveActivityTest#testDismissSave_byTappingBack
Change-Id: I59af3c84b370d9384d6f2f6c6d8ec050c4a77b02
Merged-In: I59af3c84b370d9384d6f2f6c6d8ec050c4a77b02
(cherry picked from commit ca0e72d757d26e60d58b2bdfe2dd3aa2af120316)
(cherry picked from commit d917c6c7e12c22d32eff45407b63bd88d00a776d)
(cherry picked from commit 7ea498c28be4635a2a6b910adb2a0cfab53ec91c)
4 files changed