Merge "Add onEndCallback to ContainerAnimationRunner" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
110c9c118d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user