Use activity translucent check for remote animation

- This matches the behaviour elsewhere in the system (and
  with task snapshots as well)

Bug: 148610914
Test: Manual, start a translucent activity and ensure the
      data is reported back to launcher to pick the right
      launch animation

Change-Id: Ic3baa742809b813b1c0c0b39253db5fabbe37c02
This commit is contained in:
Winson Chung
2020-01-31 10:23:28 -08:00
parent 0625fde194
commit 13af709068

View File

@@ -7674,7 +7674,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
mainWindow.getContentInsets(insets);
InsetUtils.addInsets(insets, getLetterboxInsets());
return new RemoteAnimationTarget(task.mTaskId, record.getMode(),
record.mAdapter.mCapturedLeash, !task.fillsParent(),
record.mAdapter.mCapturedLeash, !fillsParent(),
mainWindow.mWinAnimator.mLastClipRect, insets,
getPrefixOrderIndex(), record.mAdapter.mPosition,
record.mAdapter.mStackBounds, task.getWindowConfiguration(),