From 498c660baad57f84f2979d0e3e1ebcf45a23f05c Mon Sep 17 00:00:00 2001 From: Raj Yengisetty Date: Mon, 28 Jul 2014 19:39:29 -0700 Subject: Fix AppInfo drop target bug Repro: - Pick up a shortcut from Workspace - Drop on AppInfo - Observe extra screen on right has not been removed Change-Id: I6c68df27094d964308cc6e2a95917010784725a6 --- src/com/android/launcher3/Workspace.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 7501dbf7d..c6c320df0 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -437,6 +437,8 @@ public class Workspace extends SmoothPagedView InstallShortcutReceiver.disableAndFlushInstallQueue(getContext()); UninstallShortcutReceiver.disableAndFlushUninstallQueue(getContext()); + removeExtraEmptyScreen(false, null); + mDragSourceInternal = null; mLauncher.onInteractionEnd(); } -- cgit v1.2.3