OSDN Git Service

Fix ConcurrentModificationException in SyncManager
authorShreyas Basarge <snb@google.com>
Thu, 11 Feb 2016 14:52:47 +0000 (14:52 +0000)
committerShreyas Basarge <snb@google.com>
Thu, 11 Feb 2016 16:54:12 +0000 (16:54 +0000)
commit7680dd9bdf721b1bd740954c6f0e707db328a995
tree922bd2fa648790c745c935b8e701684c7f547fa3
parentc8bac80390653f9ead129000f52e75f4be826f50
Fix ConcurrentModificationException in SyncManager

ConcurrentModificationException would be thrown because
we didn't break from the for loop after removing an
entry from the collection we were looping over.

Change-Id: I30435670f76f60b238e29658611b06ec789219aa
Bug: 27136502
(cherry picked from commit 12832e3291a66bcab12edd5943767c7827c3f7c6)
services/core/java/com/android/server/content/SyncManager.java