Cleanup deferred drag when closing deep shortcuts container.
am: b9da46275b
Change-Id: I4f8c11fe12f4daf1c9fb446a936413b769b5de8e
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user