summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Bird <sbird@cyngn.com>2015-06-11 17:14:11 (GMT)
committerStephen Bird <sbird@cyngn.com>2015-06-11 18:37:53 (GMT)
commit36fcac12c25d0cc733ed0d4a90889d140434fd07 (patch)
tree562b7f6ebae54aa16e95322a6f3a3dffa6bff469
parent65743405bd62e99529ec3f22ad418fab2915e91f (diff)
downloadandroid_packages_apps_Trebuchet-36fcac12c25d0cc733ed0d4a90889d140434fd07.zip
android_packages_apps_Trebuchet-36fcac12c25d0cc733ed0d4a90889d140434fd07.tar.gz
android_packages_apps_Trebuchet-36fcac12c25d0cc733ed0d4a90889d140434fd07.tar.bz2
Rotation: fix icons disappearing
Only the dynamic grid reload should be stopping the launcher with intent to rebuild the entire workspace. This returns stopLoader to it's functionality pre-dynamic grid resize patch. Change-Id: I55861da83f9b640fd767031e0f2188c5b9b91e66 (cherry picked from commit 7d006588505d1ccc1a04cf9080851f0a7abeca66)
-rw-r--r--src/com/android/launcher3/Launcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 74551e6..452b820 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -5853,7 +5853,7 @@ public class Launcher extends Activity
mGrid.layout(Launcher.this);
// Synchronized reload
- mModel.stopLoader(); //make sure the loader isn't running
+ mModel.resetLoadedState(true, true);
mModel.startLoader(true, page);
mWorkspace.updateCustomContentVisibility();