From 083b4312bbd27b52c16d3d1ad163d1c00a2d940a Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 19 Sep 2018 14:31:24 -0700 Subject: [PATCH] Ensure that we don't additionally crop the launcher surface - Now that we are controlling the launcher app surface as well while swiping up into overview, skip applying the crop to any opening remote animation targets. Bug: 70341013 Test: Swipe up, and ensure everything still works Change-Id: I87b4021c0fc0e2997185d4d12f26b2e06999ff57 --- .../src/com/android/quickstep/util/ClipAnimationHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java index c3ce4399ef..1a180616fe 100644 --- a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java +++ b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java @@ -181,6 +181,8 @@ public class ClipAnimationHelper { } alpha = mTaskAlphaCallback.apply(app, alpha); + } else { + crop = null; } params[i] = new SurfaceParams(app.leash, alpha, mTmpMatrix, crop,