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
1 file changed