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

Commit d7b0a362 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere Committed by Android (Google) Code Review
Browse files

Merge "Temporary fix DialogLaunchAnimatorTest#testShowDialogFromView" into sc-v2-dev

parents 2d7f5250 273dc063
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -86,7 +86,14 @@ class DialogLaunchAnimatorTest : SysuiTestCase() {
        assertFalse(dialog.isShowing)

        assertFalse(dialog.onStopCalled)
        runOnMainThreadAndWaitForIdleSync { dialog.dismiss() }
        runOnMainThreadAndWaitForIdleSync {
            // TODO(b/204561691): Remove this call to disableAllCurrentDialogsExitAnimations() and
            // make sure that the test still pass on git_master/cf_x86_64_phone-userdebug in
            // Forrest.
            dialogLaunchAnimator.disableAllCurrentDialogsExitAnimations()

            dialog.dismiss()
        }
        assertFalse(hostDialog.isShowing)
        assertFalse(dialog.isShowing)
        assertTrue(hostDialog.wasDismissed)