Loading services/java/com/android/server/am/ActivityManagerService.java +42 −36 Original line number Original line Diff line number Diff line Loading @@ -3932,6 +3932,11 @@ public final class ActivityManagerService extends ActivityManagerNative removeDyingProviderLocked(null, providers.get(i), true); removeDyingProviderLocked(null, providers.get(i), true); } } if (name == null) { // Remove pending intents. For now we only do this when force // stopping users, because we have some problems when doing this // for packages -- app widgets are not currently cleaned up for // such packages, so they can be left with bad pending intents. if (mIntentSenderRecords.size() > 0) { if (mIntentSenderRecords.size() > 0) { Iterator<WeakReference<PendingIntentRecord>> it Iterator<WeakReference<PendingIntentRecord>> it = mIntentSenderRecords.values().iterator(); = mIntentSenderRecords.values().iterator(); Loading Loading @@ -3977,6 +3982,7 @@ public final class ActivityManagerService extends ActivityManagerNative } } } } } } } if (doit) { if (doit) { if (purgeCache && name != null) { if (purgeCache && name != null) { Loading Loading
services/java/com/android/server/am/ActivityManagerService.java +42 −36 Original line number Original line Diff line number Diff line Loading @@ -3932,6 +3932,11 @@ public final class ActivityManagerService extends ActivityManagerNative removeDyingProviderLocked(null, providers.get(i), true); removeDyingProviderLocked(null, providers.get(i), true); } } if (name == null) { // Remove pending intents. For now we only do this when force // stopping users, because we have some problems when doing this // for packages -- app widgets are not currently cleaned up for // such packages, so they can be left with bad pending intents. if (mIntentSenderRecords.size() > 0) { if (mIntentSenderRecords.size() > 0) { Iterator<WeakReference<PendingIntentRecord>> it Iterator<WeakReference<PendingIntentRecord>> it = mIntentSenderRecords.values().iterator(); = mIntentSenderRecords.values().iterator(); Loading Loading @@ -3977,6 +3982,7 @@ public final class ActivityManagerService extends ActivityManagerNative } } } } } } } if (doit) { if (doit) { if (purgeCache && name != null) { if (purgeCache && name != null) { Loading