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

Commit 40ad2c3d authored by Jordan Demeulenaere's avatar Jordan Demeulenaere Committed by Automerger Merge Worker
Browse files

Merge "Add more logs in ActivityLaunchAnimator" into udc-qpr-dev am: 36bb054e am: 2864f5bf

parents 852c4a49 2864f5bf
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -605,12 +605,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)
                    }