commit | 2660ca5d0e3a19840a0c8cad09a96c88a7a864ad | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Sep 19 14:31:24 2018 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Sep 27 18:26:52 2018 +0000 |
tree | 2b87881ceaf0bd55fc64a77647ee60709a9927a1 | |
parent | 08a915c0ce5acdf1b1caaf78c8c6a37bfa9466de [diff] |
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
diff --git a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java index 8aaa40c..711ef58 100644 --- a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java +++ b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java
@@ -181,6 +181,8 @@ } alpha = mTaskAlphaCallback.apply(app, alpha); + } else { + crop = null; } params[i] = new SurfaceParams(app.leash, alpha, mTmpMatrix, crop,