Merge "Reset pinch gesture on apps without seamless resize" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c470c58e6d
@@ -1532,6 +1532,9 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
|
||||
if (snapshotSurface != null) {
|
||||
mSyncTransactionQueue.queue(wct);
|
||||
mSyncTransactionQueue.runInSync(t -> {
|
||||
// reset the pinch gesture
|
||||
maybePerformFinishResizeCallback();
|
||||
|
||||
// Scale the snapshot from its pre-resize bounds to the post-resize bounds.
|
||||
mSurfaceTransactionHelper.scale(t, snapshotSurface, preResizeBounds,
|
||||
snapshotDest);
|
||||
|
||||
Reference in New Issue
Block a user