commit | 899c8f2ba668080bc663732f610b683222a1bb77 | [log] [tgz] |
---|---|---|
author | Jay Shrauner <shrauner@google.com> | Thu Aug 14 09:59:37 2014 -0700 |
committer | Jay Shrauner <shrauner@google.com> | Thu Aug 14 14:04:41 2014 -0700 |
tree | 2958359da2b343b69936c455953fb7c182efbb95 | |
parent | 3718dcb345e77e421ab18a760e48f0c3a760fcca [diff] |
Prevent ConcurrentModificationExceptions Switch from HashSets to Sets backed by ConcurrentHashMaps, and from ArrayLists to CopyOnWriteArrayLists, to prevent exceptions when listeners remove themselves in their callback while iterating through the set or list. Bug:17030803 Change-Id: I99511e56d77526796679e2840437d0ea47062830