Merge "Reload everything when coming back from the SD being unmounted." into gingerbread
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user