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

Commit 1fccb994 authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Make snapshot surface relative to parent" into rvc-dev am: f813234a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11692385

Change-Id: I4d98d14a2c148442af49c9b83abb07e830821cf5
parents cfd03066 f813234a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ class TaskSnapshotSurface implements StartingSurface {
            frame = null;
            mTmpSnapshotSize.set(0, 0, buffer.getWidth(), buffer.getHeight());
            mTmpDstFrame.set(mFrame);
            mTmpDstFrame.offsetTo(0, 0);
        }

        // Scale the mismatch dimensions to fill the task bounds