diff options
| author | 2013-05-21 17:24:32 +0800 | |
|---|---|---|
| committer | 2013-05-29 14:33:59 +0800 | |
| commit | cca0965a1baa0c36d361127f94076943dd3d2803 (patch) | |
| tree | a1ac4283c2f0cee5f58e1afe9b4f13f5db65f988 | |
| parent | a34b531bb6d2f2923f474b8c0a0c09149303e5d3 (diff) | |
framework:base: iterator error in singletone provider
In case of singletone provider, we don't count it in the guset user.
After we remove it from the array, and resize the array, need to move
iterator back.
Change-Id: I99920a6beccc9de0e67ffeb632b1940efaee10b9
| -rw-r--r-- | services/java/com/android/server/am/ActivityManagerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index c6efe15b9ced..3582a4153974 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java @@ -6267,6 +6267,7 @@ public final class ActivityManagerService extends ActivityManagerNative // it runs in the process of the default user. Get rid of it. providers.remove(i); N--; + i--; continue; } |