From 32f55bf02da11709648cd98ab80469fde64bce10 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 10 May 2019 10:28:07 -0700 Subject: [PATCH] Set "usingRemoteAnim" for fallback recents Ensure fallback recents uses the correct layout animation by hooking into usingRemoteAnim API. Bug: 132112131 Test: Manual test Change-Id: I9bb96dbf436018e5488ede0c5ca48af787180aec --- .../com/android/quickstep/FallbackActivityControllerHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/quickstep/src/com/android/quickstep/FallbackActivityControllerHelper.java b/go/quickstep/src/com/android/quickstep/FallbackActivityControllerHelper.java index d39a66c707..eb0c5b942f 100644 --- a/go/quickstep/src/com/android/quickstep/FallbackActivityControllerHelper.java +++ b/go/quickstep/src/com/android/quickstep/FallbackActivityControllerHelper.java @@ -45,12 +45,12 @@ public final class FallbackActivityControllerHelper extends @Override public AnimationFactory prepareRecentsUI(RecentsActivity activity, boolean activityVisible, boolean animateActivity, Consumer callback) { - // TODO: Logic for setting remote animation if (activityVisible) { return (transitionLength) -> { }; } IconRecentsView rv = activity.getOverviewPanel(); + rv.setUsingRemoteAnimation(true); rv.setAlpha(0); return new AnimationFactory() {