Temporary fix DialogLaunchAnimatorTest#testShowDialogFromView
This is a temporary fix to make #testShowDialogFromView pass on git_master/cf_x86_64_phone-userdebug. Bug: 204589809 Bug: 204561691 Test: https://android-build.googleplex.com/builds/abtd/run/L96200000951897805 Change-Id: I28fe649fde6a107ee939ae8e85090972899f5d17
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user