Merge "Add onEndCallback to ContainerAnimationRunner" into tm-qpr-dev am: 110c9c118d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21750279

Change-Id: Ibb93c317183117826b033fb55ae2cebf92297c08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Johannes Gallmann
2023-03-06 19:54:47 +00:00
committed by Automerger Merge Worker

View File

@@ -419,7 +419,7 @@ class ActivityLaunchAnimator(
internal val delegate: AnimationDelegate
init {
delegate = AnimationDelegate(controller, callback, launchAnimator, listener)
delegate = AnimationDelegate(controller, callback, listener, launchAnimator)
}
@BinderThread
@@ -446,10 +446,10 @@ class ActivityLaunchAnimator(
constructor(
private val controller: Controller,
private val callback: Callback,
/** The animator to use to animate the window launch. */
private val launchAnimator: LaunchAnimator = DEFAULT_LAUNCH_ANIMATOR,
/** Listener for animation lifecycle events. */
private val listener: Listener? = null
private val listener: Listener? = null,
/** The animator to use to animate the window launch. */
private val launchAnimator: LaunchAnimator = DEFAULT_LAUNCH_ANIMATOR
) : RemoteAnimationDelegate<IRemoteAnimationFinishedCallback> {
private val launchContainer = controller.launchContainer
private val context = launchContainer.context