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

Commit 1f4ed1ec authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Correctly apply transaction on the end of veiled resize." into udc-dev

parents cf97449a 94d63e4f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -86,9 +86,10 @@ public class VeiledResizeTaskPositioner implements DragPositioningCallback {
    public void onDragPositioningEnd(float x, float y) {
        PointF delta = DragPositioningCallbackUtility.calculateDelta(x, y,
                mRepositionStartPoint);
        if (mHasMoved && DragPositioningCallbackUtility.changeBounds(mCtrlType, mHasMoved,
        if (mHasMoved) {
            DragPositioningCallbackUtility.changeBounds(mCtrlType, mHasMoved,
                    mRepositionTaskBounds, mTaskBoundsAtDragStart, mStableBounds, delta,
                mDisplayController, mDesktopWindowDecoration)) {
                    mDisplayController, mDesktopWindowDecoration);
            DragPositioningCallbackUtility.applyTaskBoundsChange(
                    new WindowContainerTransaction(), mDesktopWindowDecoration,
                    mRepositionTaskBounds, mTaskOrganizer);