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

Commit e5575ae0 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 am: f320d1af

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

Change-Id: I95201521f517ce04ab67dbf4676a5026e1cb3f89
parents 66a262da f320d1af
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