diff options
author | Joe Onorato <joeo@android.com> | 2009-10-15 19:49:43 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-10-15 19:49:43 -0700 |
commit | 1d8e7bbe09e130af5e9534cc26a65f623be7a424 (patch) | |
tree | a476be9752ed4b36994e4548f0a41afcf2b3cb93 /src/com/android/launcher2/LauncherModel.java | |
parent | 742d7fc1c22242e032f97f362343771ca7ff77d4 (diff) | |
download | android_packages_apps_Trebuchet-1d8e7bbe09e130af5e9534cc26a65f623be7a424.tar.gz android_packages_apps_Trebuchet-1d8e7bbe09e130af5e9534cc26a65f623be7a424.tar.bz2 android_packages_apps_Trebuchet-1d8e7bbe09e130af5e9534cc26a65f623be7a424.zip |
Fix the bug where the icons stop showing up.
I think what's happening here is that when there is a configuration
change, we were restarting the launcher process because the driver
would hang. But now that that's fixed, we need to poke the model
to reload the icons. We were missing the bind apps call.
Diffstat (limited to 'src/com/android/launcher2/LauncherModel.java')
-rw-r--r-- | src/com/android/launcher2/LauncherModel.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java index 34cb4fa39..12dd01677 100644 --- a/src/com/android/launcher2/LauncherModel.java +++ b/src/com/android/launcher2/LauncherModel.java @@ -249,6 +249,13 @@ public class LauncherModel { mLoader.stopLoader(); } + /** + * We pick up most of the changes to all apps. + */ + public void setAllAppsDirty() { + mLoader.setAllAppsDirty(); + } + public void setWorkspaceDirty() { mLoader.setWorkspaceDirty(); } |