Ensuring disabled packages remove all components on the workspace. (Bug 11172454)

This commit is contained in:
Winson Chung committed 2013-10-16 14:57:19 -07:00
1 parent 51b9f6a570
commit df95eb12a4
4 files changed
+64 -55

No files matched your search

@@ -104,6 +104,9 @@ public class InstallShortcutReceiver extends BroadcastReceiver {
public static void removeFromInstallQueue(SharedPreferences sharedPrefs,
ArrayList<String> packageNames) {
if (packageNames.isEmpty()) {
return;
}
synchronized(sLock) {
Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null);
if (strings != null) {