From 4a05c8b7390e2499303ec0a089617f4b2938645c Mon Sep 17 00:00:00 2001 From: Luca Zuccarini Date: Tue, 19 Nov 2024 10:57:44 +0000 Subject: [PATCH] Animation takeovers in Predictive Back. Bug: 323863002 Flag: EXEMPTY empty implementation Test: NA empty implementation Change-Id: I8a9ec1a4fb7fc400ce3c4e79ef3a234fbaf12dd0 --- .../quickstep/LauncherBackAnimationController.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java b/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java index 6719ab74dc..f3ed491b64 100644 --- a/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java +++ b/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java @@ -49,8 +49,8 @@ import android.view.animation.Interpolator; import android.window.BackEvent; import android.window.BackMotionEvent; import android.window.BackProgressAnimator; +import android.window.IBackAnimationHandoffHandler; import android.window.IOnBackInvokedCallback; - import com.android.app.animation.Interpolators; import com.android.internal.policy.SystemBarUtils; import com.android.internal.view.AppearanceRegion; @@ -225,6 +225,12 @@ public class LauncherBackAnimationController { public void setTriggerBack(boolean triggerBack) { // TODO(b/261654570): track touch from the Launcher process. } + + @Override + public void setHandoffHandler(IBackAnimationHandoffHandler unused) { + // For now, Launcher handles this internally so it doesn't need to hand off the + // animation. + } } private static class RemoteAnimationRunnerStub extends IRemoteAnimationRunner.Stub {