summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-02-13 22:17:26 (GMT)
committerMatt Garnes <matt@cyngn.com>2015-02-27 23:56:27 (GMT)
commit98b721dcb24e7bf1974cbf3897cbc8afed8b0a87 (patch)
tree8bf179a3619a7eceef6342104d826d72624238aa
parentf4943c9cfb628d00fb3e4e67a183f50bc31e7165 (diff)
downloadandroid_packages_apps_Trebuchet-98b721dcb24e7bf1974cbf3897cbc8afed8b0a87.zip
android_packages_apps_Trebuchet-98b721dcb24e7bf1974cbf3897cbc8afed8b0a87.tar.gz
android_packages_apps_Trebuchet-98b721dcb24e7bf1974cbf3897cbc8afed8b0a87.tar.bz2
Trebuchet: Live Settings - stop loader before reloading dynamic grid
Change-Id: Idcbbde7b7a5421ffffb5c130e2515e5305faddb8
-rw-r--r--src/com/android/launcher3/Launcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 5dfb68d..90d5337 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -5612,6 +5612,7 @@ public class Launcher extends Activity
mGrid.layout(Launcher.this);
// Synchronized reload
+ mModel.stopLoader(); //make sure the loader isn't running
mModel.startLoader(true, page);
mWorkspace.updateCustomContentVisibility();