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
This commit is contained in:
Winson Chung
2018-09-19 14:31:24 -07:00
parent 1447f14cfc
commit 083b4312bb
@@ -181,6 +181,8 @@ public class ClipAnimationHelper {
}
alpha = mTaskAlphaCallback.apply(app, alpha);
} else {
crop = null;
}
params[i] = new SurfaceParams(app.leash, alpha, mTmpMatrix, crop,