From 7d9e7223370dd0719821a612cf517db7ee0235b9 Mon Sep 17 00:00:00 2001 From: Jordan Demeulenaere Date: Tue, 19 Sep 2023 11:24:45 +0200 Subject: Add more logs in ActivityLaunchAnimator Bug: 288507023 Test: Manual Change-Id: I8068cd56fcd04f0103ddcb871cec915a93e1c121 --- .../android/systemui/animation/ActivityLaunchAnimator.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt b/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt index a95ab5565ab9..9b85eb84e34f 100644 --- a/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt +++ b/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt @@ -606,12 +606,28 @@ class ActivityLaunchAnimator( object : Controller by delegate { override fun onLaunchAnimationStart(isExpandingFullyAbove: Boolean) { listener?.onLaunchAnimationStart() + + if (DEBUG_LAUNCH_ANIMATION) { + Log.d( + TAG, + "Calling controller.onLaunchAnimationStart(isExpandingFullyAbove=" + + "$isExpandingFullyAbove) [controller=$delegate]" + ) + } delegate.onLaunchAnimationStart(isExpandingFullyAbove) } override fun onLaunchAnimationEnd(isExpandingFullyAbove: Boolean) { listener?.onLaunchAnimationEnd() iCallback?.invoke() + + if (DEBUG_LAUNCH_ANIMATION) { + Log.d( + TAG, + "Calling controller.onLaunchAnimationEnd(isExpandingFullyAbove=" + + "$isExpandingFullyAbove) [controller=$delegate]" + ) + } delegate.onLaunchAnimationEnd(isExpandingFullyAbove) } -- cgit v1.2.3-59-g8ed1b