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

Commit 36bb054e authored by Jordan Demeulenaere's avatar Jordan Demeulenaere Committed by Android (Google) Code Review
Browse files

Merge "Add more logs in ActivityLaunchAnimator" into udc-qpr-dev

parents 77c5cd9a 7d9e7223
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
@@ -606,12 +606,28 @@ class ActivityLaunchAnimator(
                object : Controller by delegate {
                object : Controller by delegate {
                    override fun onLaunchAnimationStart(isExpandingFullyAbove: Boolean) {
                    override fun onLaunchAnimationStart(isExpandingFullyAbove: Boolean) {
                        listener?.onLaunchAnimationStart()
                        listener?.onLaunchAnimationStart()

                        if (DEBUG_LAUNCH_ANIMATION) {
                            Log.d(
                                TAG,
                                "Calling controller.onLaunchAnimationStart(isExpandingFullyAbove=" +
                                    "$isExpandingFullyAbove) [controller=$delegate]"
                            )
                        }
                        delegate.onLaunchAnimationStart(isExpandingFullyAbove)
                        delegate.onLaunchAnimationStart(isExpandingFullyAbove)
                    }
                    }


                    override fun onLaunchAnimationEnd(isExpandingFullyAbove: Boolean) {
                    override fun onLaunchAnimationEnd(isExpandingFullyAbove: Boolean) {
                        listener?.onLaunchAnimationEnd()
                        listener?.onLaunchAnimationEnd()
                        iCallback?.invoke()
                        iCallback?.invoke()

                        if (DEBUG_LAUNCH_ANIMATION) {
                            Log.d(
                                TAG,
                                "Calling controller.onLaunchAnimationEnd(isExpandingFullyAbove=" +
                                    "$isExpandingFullyAbove) [controller=$delegate]"
                            )
                        }
                        delegate.onLaunchAnimationEnd(isExpandingFullyAbove)
                        delegate.onLaunchAnimationEnd(isExpandingFullyAbove)
                    }
                    }