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:
@@ -419,7 +419,7 @@ class ActivityLaunchAnimator(
|
|||||||
internal val delegate: AnimationDelegate
|
internal val delegate: AnimationDelegate
|
||||||
|
|
||||||
init {
|
init {
|
||||||
delegate = AnimationDelegate(controller, callback, launchAnimator, listener)
|
delegate = AnimationDelegate(controller, callback, listener, launchAnimator)
|
||||||
}
|
}
|
||||||
|
|
||||||
@BinderThread
|
@BinderThread
|
||||||
@@ -446,10 +446,10 @@ class ActivityLaunchAnimator(
|
|||||||
constructor(
|
constructor(
|
||||||
private val controller: Controller,
|
private val controller: Controller,
|
||||||
private val callback: Callback,
|
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. */
|
/** 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> {
|
) : RemoteAnimationDelegate<IRemoteAnimationFinishedCallback> {
|
||||||
private val launchContainer = controller.launchContainer
|
private val launchContainer = controller.launchContainer
|
||||||
private val context = launchContainer.context
|
private val context = launchContainer.context
|
||||||
|
|||||||
Reference in New Issue
Block a user