summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2015-09-30 00:52:30 (GMT)
committerDanesh M <daneshm90@gmail.com>2015-09-30 00:53:39 (GMT)
commitaf15b41e59de7600aacd86f122941617f23502db (patch)
treebf12f1789c6eb50fcc02c7cf325824dd639d72d7
parent81275a614e9c4aaff6a67baddccf650e2429f497 (diff)
downloadandroid_packages_apps_Trebuchet-af15b41e59de7600aacd86f122941617f23502db.zip
android_packages_apps_Trebuchet-af15b41e59de7600aacd86f122941617f23502db.tar.gz
android_packages_apps_Trebuchet-af15b41e59de7600aacd86f122941617f23502db.tar.bz2
Trebuchet : Update grid + cancel drag on searchablesChanged
Change-Id: Iaceebeebc03ab6e0dbd0fcac3a7e5e2265319c0c
-rw-r--r--src/com/android/launcher3/Launcher.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 46b2ccb..1603200 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -5247,7 +5247,10 @@ public class Launcher extends Activity
mQsb = null;
}
mSearchDropTargetBar.setQsbSearchBar(getQsbBar());
- mGrid.layout(this);
+ if (mDragController.isDragging()) {
+ mDragController.cancelDrag();
+ }
+ updateDynamicGrid(false);
}
/**