Merge "Ensuring disabled packages remove all components on the workspace. (Bug 11172454)" into jb-ub-now-jetsonic

This commit is contained in:
Winson Chung
2013-10-17 20:43:59 +00:00
committed by Android (Google) Code Review
4 changed files with 64 additions and 55 deletions

View File

@@ -108,6 +108,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 (DBG) {