Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd99fd02 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Gracefully close pip window after test

Try to mitigate pip-dismiss-overlay leak

Test: atest WMShellFlickerTests
Bug: 258120818
Change-Id: Ifa94292612677d9acdcc2d87cd6c06d793708d81
parent f76de3d6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ class EnterPipOnUserLeaveHintTest(flicker: FlickerTest) : EnterPipTest(flicker)
                pipApp.enableEnterPipOnUserLeaveHint()
            }
            teardown {
                // close gracefully so that onActivityUnpinned() can be called before force exit
                pipApp.closePipWindow(wmHelper)
                pipApp.exit(wmHelper)
            }
            transitions { tapl.goHome() }