summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-11-10 18:35:02 (GMT)
committerAdnan <adnan@cyngn.com>2014-11-19 23:53:59 (GMT)
commit616cf2e20604062f98fad8d3e3bb43f5b6fa5a6c (patch)
treefd06fca9f33b1ac3f7bea3a8fec370eb11274578
parent4a082a4a9c6ab7cdb47c88b2a9f9c6aa34e09515 (diff)
downloadandroid_packages_apps_Trebuchet-616cf2e20604062f98fad8d3e3bb43f5b6fa5a6c.zip
android_packages_apps_Trebuchet-616cf2e20604062f98fad8d3e3bb43f5b6fa5a6c.tar.gz
android_packages_apps_Trebuchet-616cf2e20604062f98fad8d3e3bb43f5b6fa5a6c.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 9c9f9a9..eb6bc61 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -4346,6 +4346,11 @@ public class Workspace extends SmoothPagedView
&& mDragInfo.cell != null) {
mDragInfo.cell.setVisibility(VISIBLE);
}
+
+ if (target instanceof InfoDropTarget) {
+ removeExtraEmptyScreen(false, null);
+ }
+
mDragOutline = null;
mDragInfo = null;
}