Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13af7090 authored by Winson Chung's avatar Winson Chung
Browse files

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
parent 0625fde1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(),