Cleanup deferred drag when closing deep shortcuts container.

am: b9da46275b

Change-Id: I4f8c11fe12f4daf1c9fb446a936413b769b5de8e
This commit is contained in:
Tony Wickham
2016-07-28 00:46:02 +00:00
committed by android-build-merger
+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);
}