Wait for correct surface to disappear on transition
Waiting for the wrong surface makes the transition crash Fixes: 227308870 Test: atest ExitPipViaExpandButtonClickTest Change-Id: I3be2da3c344301586cc61201b962ffce3937e77d
This commit is contained in:
@@ -74,7 +74,7 @@ class ExitPipViaExpandButtonClickTest(
|
||||
// This will bring PipApp to fullscreen
|
||||
pipApp.expandPipWindowToApp(wmHelper)
|
||||
// Wait until the other app is no longer visible
|
||||
wmHelper.waitForSurfaceAppeared(testApp.component)
|
||||
wmHelper.waitForWindowSurfaceDisappeared(testApp.component)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user