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

Commit f603b270 authored by Ben Lin's avatar Ben Lin
Browse files

Reset the scaling when finalizing resize.

Bug: 147361175
Test: Manual
Change-Id: Ia640ead2ee439013866d86934314e0a7262cad7d
parent 6d4c9851
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -351,6 +351,7 @@ public class PipTaskOrganizer extends ITaskOrganizer.Stub {
        final SurfaceControl.Transaction tx = mSurfaceControlTransactionFactory.getTransaction();
        mSurfaceTransactionHelper
                .crop(tx, mLeash, destinationBounds)
                .resetScale(tx, mLeash, destinationBounds)
                .round(tx, mLeash, mInPip);
        scheduleFinishResizePip(tx, destinationBounds, TRANSITION_DIRECTION_NONE, null);
    }