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

Commit bc9b2428 authored by Mykola Podolian's avatar Mykola Podolian Committed by Android (Google) Code Review
Browse files

Merge "Cancel drag and drop if drag is canceled." into main

parents 47e43a8c 273d8168
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -663,6 +663,9 @@ public class DragLayout extends LinearLayout
                    mSession = null;
            }
        });
        // notify bubbles of drag cancel
        mCurrentBubbleBarTarget = null;
        mBubbleBarDragListener.onItemDraggedOutsideBubbleBarDropZone();
        // Reset the state if we previously force-ignore the bottom margin
        mDropZoneView1.setForceIgnoreBottomMargin(false);
        mDropZoneView2.setForceIgnoreBottomMargin(false);