Run animation end callback directly for zero duration or requested end
The use case may want to go end state directly without animation effect,
so it is unnecessary to defer the end callback.
Bug: 300035126
Flag: com.android.window.flags.system_ui_post_animation_end
Test: atest SystemUITests:AuthContainerViewTest
(AuthContainerView(mSkipAnimation=true))
Test: atest SystemUITests:DialogTransitionAnimatorTest
(fakeDialogTransitionAnimator > fakeTransitionAnimator)
Change-Id: I3605c2bb3647dffc09d9e93dd7ddc75f04a2d347
2 files changed