Merge "Make snapshot surface relative to parent" into rvc-dev am: f813234a4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11692385 Change-Id: Icbd18780629b5532142e86d29fcddec497b4d6af
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user