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

Commit f320d1af 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: Icbd18780629b5532142e86d29fcddec497b4d6af
parents 1772e0be f813234a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -391,6 +391,7 @@ class TaskSnapshotSurface implements StartingSurface {
            frame = null;
            frame = null;
            mTmpSnapshotSize.set(0, 0, buffer.getWidth(), buffer.getHeight());
            mTmpSnapshotSize.set(0, 0, buffer.getWidth(), buffer.getHeight());
            mTmpDstFrame.set(mFrame);
            mTmpDstFrame.set(mFrame);
            mTmpDstFrame.offsetTo(0, 0);
        }
        }


        // Scale the mismatch dimensions to fill the task bounds
        // Scale the mismatch dimensions to fill the task bounds