commit | cca0965a1baa0c36d361127f94076943dd3d2803 | [log] [tgz] |
---|---|---|
author | Jun Su <juns@nvidia.com> | Tue May 21 17:24:32 2013 +0800 |
committer | Jun Su <juns@nvidia.com> | Wed May 29 14:33:59 2013 +0800 |
tree | a1ac4283c2f0cee5f58e1afe9b4f13f5db65f988 | |
parent | a34b531bb6d2f2923f474b8c0a0c09149303e5d3 [diff] [blame] |
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
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index c6efe15b9..3582a41 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -6267,6 +6267,7 @@ // it runs in the process of the default user. Get rid of it. providers.remove(i); N--; + i--; continue; }