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

Commit 71538da6 authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Cleanup deferred drag when closing deep shortcuts container." into ub-launcher3-calgary

parents e117f53f b9da4627
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3132,6 +3132,7 @@ public class Launcher extends Activity
    public void closeShortcutsContainer() {
    public void closeShortcutsContainer() {
        DeepShortcutsContainer deepShortcutsContainer = getOpenShortcutsContainer();
        DeepShortcutsContainer deepShortcutsContainer = getOpenShortcutsContainer();
        if (deepShortcutsContainer != null) {
        if (deepShortcutsContainer != null) {
            deepShortcutsContainer.cleanupDeferredDrag(true);
            mDragController.removeDragListener(deepShortcutsContainer);
            mDragController.removeDragListener(deepShortcutsContainer);
            mDragLayer.removeView(deepShortcutsContainer);
            mDragLayer.removeView(deepShortcutsContainer);
        }
        }