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

This commit is contained in:
Tony Wickham authored and Android (Google) Code Review committed 2016-07-28 00:29:45 +00:00
commit 71538da6e2
1 file changed
+1
+1
View File
@@ -3132,6 +3132,7 @@ public class Launcher extends Activity
public void closeShortcutsContainer() {
DeepShortcutsContainer deepShortcutsContainer = getOpenShortcutsContainer();
if (deepShortcutsContainer != null) {
deepShortcutsContainer.cleanupDeferredDrag(true);
mDragController.removeDragListener(deepShortcutsContainer);
mDragLayer.removeView(deepShortcutsContainer);
}