Check for stopped state after launching AlwaysExpandActivity over the main activity in addition to paused
It seems like the main activity goes through to the paused state when the activity is opened over it but then quickly to stopping and stopped, but if that is faster than our wait condition checking interval we just always wait for paused which has already passed now that we are in stopped.
Test: atest com.android.server.wm.flicker.activityembedding.open.MainActivityStartsSecondaryWithAlwaysExpandTest
Bug: 291916460
Change-Id: Id64fd02a728a3a94504ab0d7f7884efad0236b5f
1 file changed