From 6ffb52e2dbc81897229d0967bc1a1b21c504eaa7 Mon Sep 17 00:00:00 2001 From: Jordan Demeulenaere Date: Tue, 18 Oct 2022 19:26:08 +0200 Subject: [PATCH] Fix DialogLaunchAnimation perf regression Bug: 253521456 Test: https://paste.googleplex.com/4555806736384000 Change-Id: I0789119fd8aacd1d2087e08eb17813606802f145 --- .../src/com/android/systemui/animation/DialogLaunchAnimator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/animation/src/com/android/systemui/animation/DialogLaunchAnimator.kt b/packages/SystemUI/animation/src/com/android/systemui/animation/DialogLaunchAnimator.kt index 23cee4d0972db..ca36fa43da76d 100644 --- a/packages/SystemUI/animation/src/com/android/systemui/animation/DialogLaunchAnimator.kt +++ b/packages/SystemUI/animation/src/com/android/systemui/animation/DialogLaunchAnimator.kt @@ -865,7 +865,7 @@ private class AnimatedDialog( return } - ViewRootSync.synchronizeNextDraw(decorView, controller.viewRoot.view, then) + ViewRootSync.synchronizeNextDraw(controller.viewRoot.view, decorView, then) decorView.invalidate() controller.viewRoot.view.invalidate() }