Attempt fixing test flakiness
The activity should be set to RESUMED state after relaunched, or
the activity is remained in CREATED state. Somehow, the activity
could relayout window and update the app configuration after
destroyed, while the next test is started running.
Bug: 298331121
Test: atest ActivityThreadTest
Change-Id: I413ec5ed5e3939582816dd80a4fdfd5ec0b18e99
Merged-In: I413ec5ed5e3939582816dd80a4fdfd5ec0b18e99
(cherry picked from commit 18cc3800ddb5e4dee6c425703960b0cf3f763369)
1 file changed