summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-07-29 02:39:29 (GMT)
committerRajesh Yengisetty <rajesh@cyngn.com>2014-07-29 02:56:08 (GMT)
commit498c660baad57f84f2979d0e3e1ebcf45a23f05c (patch)
treec1a2f7960e57defb09519f41f7dbcdd573411f1d
parent7b7ee6d5eb19ee24adfc85a47f2a436ea6c4ca8e (diff)
downloadandroid_packages_apps_Trebuchet-498c660baad57f84f2979d0e3e1ebcf45a23f05c.zip
android_packages_apps_Trebuchet-498c660baad57f84f2979d0e3e1ebcf45a23f05c.tar.gz
android_packages_apps_Trebuchet-498c660baad57f84f2979d0e3e1ebcf45a23f05c.tar.bz2
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
-rw-r--r--src/com/android/launcher3/Workspace.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 7501dbf..c6c320d 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();
}