Cleanup deferred drag when closing deep shortcuts container.

am: b9da46275b

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