summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj <raj@cyngn.com>2014-09-23 01:39:17 (GMT)
committerRaj <raj@cyngn.com>2014-09-23 01:39:17 (GMT)
commitb6efc64efa20dc2c370e68942bd79a5b7f9c5b71 (patch)
treed979cc7532d43cdfca3962715f495eef4ac11ab3
parente796c5dc70f9cb82875fe25c6526744dd890b5bb (diff)
downloadandroid_packages_apps_Trebuchet-b6efc64efa20dc2c370e68942bd79a5b7f9c5b71.zip
android_packages_apps_Trebuchet-b6efc64efa20dc2c370e68942bd79a5b7f9c5b71.tar.gz
android_packages_apps_Trebuchet-b6efc64efa20dc2c370e68942bd79a5b7f9c5b71.tar.bz2
Fix App Info bug where extra empty screen remains after dropping drag object
on the App Info traget. Change-Id: Ibce0b75417cf8682ccdb0c6b755a22f34e735f9d
-rw-r--r--src/com/android/launcher3/Workspace.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 7501dbf..e935c99 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -4334,6 +4334,11 @@ public class Workspace extends SmoothPagedView
&& mDragInfo.cell != null) {
mDragInfo.cell.setVisibility(VISIBLE);
}
+
+ if (target instanceof InfoDropTarget) {
+ removeExtraEmptyScreen(false, null);
+ }
+
mDragOutline = null;
mDragInfo = null;
}