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

Commit 791c9dbf authored by Sebastián Franco's avatar Sebastián Franco Committed by Android (Google) Code Review
Browse files

Merge "Clean mPreviousSolution on change of CellLayout target" into tm-qpr-dev

parents 8f98a162 5aa71cee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2716,6 +2716,7 @@ public class CellLayout extends ViewGroup {
     */
    void onDragEnter() {
        mDragging = true;
        mPreviousSolution = null;
    }

    /**
@@ -2730,6 +2731,7 @@ public class CellLayout extends ViewGroup {
        }

        // Invalidate the drag data
        mPreviousSolution = null;
        mDragCell[0] = mDragCell[1] = -1;
        mDragCellSpan[0] = mDragCellSpan[1] = -1;
        mDragOutlineAnims[mDragOutlineCurrent].animateOut();