diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-03-07 01:31:17 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-07 01:31:17 +0000 |
commit | c71c901ad4d33a373efdad4cf97d12f8ca77e089 (patch) | |
tree | 0f9cb6246ec234372b29111ba582b6d39c4bef68 /services | |
parent | f453f3a1685b14047533429aff15fd2e2ba3d7c9 (diff) | |
parent | 278fa87cc9a5e08d410c5b1e6c75afcffc22a988 (diff) | |
download | frameworks_base-c71c901ad4d33a373efdad4cf97d12f8ca77e089.zip frameworks_base-c71c901ad4d33a373efdad4cf97d12f8ca77e089.tar.gz frameworks_base-c71c901ad4d33a373efdad4cf97d12f8ca77e089.tar.bz2 |
am 278fa87c: am 430652c1: Merge "Fix issue #13199860: PRE_BOOT_COMPLETED intent is..." into klp-dev
* commit '278fa87cc9a5e08d410c5b1e6c75afcffc22a988':
Fix issue #13199860: PRE_BOOT_COMPLETED intent is...
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/am/ActivityManagerService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 4dde117..6c3f528 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -9141,8 +9141,13 @@ public final class ActivityManagerService extends ActivityManagerNative ActivityInfo ai = ris.get(i).activityInfo; ComponentName comp = new ComponentName(ai.packageName, ai.name); if (lastDoneReceivers.contains(comp)) { + // We already did the pre boot receiver for this app with the current + // platform version, so don't do it again... ris.remove(i); i--; + // ...however, do keep it as one that has been done, so we don't + // forget about it when rewriting the file of last done receivers. + doneReceivers.add(comp); } } |