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

Commit 7d9e7223 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Add more logs in ActivityLaunchAnimator

Bug: 288507023
Test: Manual
Change-Id: I8068cd56fcd04f0103ddcb871cec915a93e1c121
parent 4d41d656
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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)
                    }