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:38:25 (GMT)
commit59ca19ff68b20a6dc80014c21dff29a835afb91b (patch)
tree5a132c463a4eaeda21e1d987888ae1e33b6617bf
parentf7c091a7b4ababf293f2a8b2260d6e28720669bb (diff)
downloadandroid_packages_apps_Trebuchet-59ca19ff68b20a6dc80014c21dff29a835afb91b.zip
android_packages_apps_Trebuchet-59ca19ff68b20a6dc80014c21dff29a835afb91b.tar.gz
android_packages_apps_Trebuchet-59ca19ff68b20a6dc80014c21dff29a835afb91b.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) (cherry picked from commit 36fcac12c25d0cc733ed0d4a90889d140434fd07)
-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 29a2934..bee0b0f 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -5824,7 +5824,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();