diff options
author | Joe Onorato <joeo@android.com> | 2010-09-30 16:39:50 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-09-30 16:39:50 -0700 |
commit | d98979b8147065878719cd2adb039317ba3abe0a (patch) | |
tree | 603e911e0586defe72b1f34015fe8abb0c6935c4 /src/com/android/launcher2 | |
parent | b806823d7d004e966db8a24a9ac42e5ee2d5806d (diff) | |
parent | 789065d26e3b1a0f20d92f97068bdbb05a4ae36e (diff) | |
download | packages_apps_trebuchet-d98979b8147065878719cd2adb039317ba3abe0a.zip packages_apps_trebuchet-d98979b8147065878719cd2adb039317ba3abe0a.tar.gz packages_apps_trebuchet-d98979b8147065878719cd2adb039317ba3abe0a.tar.bz2 |
Merge "Reload everything when coming back from the SD being unmounted." into gingerbread
Diffstat (limited to 'src/com/android/launcher2')
-rw-r--r-- | src/com/android/launcher2/LauncherModel.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java index 06fcfb3..0978499 100644 --- a/src/com/android/launcher2/LauncherModel.java +++ b/src/com/android/launcher2/LauncherModel.java @@ -340,8 +340,9 @@ public class LauncherModel extends BroadcastReceiver { } } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) { - String[] packages = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); - enqueuePackageUpdated(new PackageUpdatedTask(PackageUpdatedTask.OP_ADD, packages)); + // When everything comes back, just reload everything. We might not + // have the right icons for apps on external storage. + startLoader(mApp, false); } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { String[] packages = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST); |