commit | 138e0db47a8fe52d96d38c7be3fe9d2ad7f4083b | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri Nov 01 12:02:48 2013 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Nov 01 12:02:48 2013 -0700 |
tree | 13a53d6a8187e0ffc9af613b9ab5239f7a883327 | |
parent | 3f0314b41fef7b680548cce0fab4e14565a5b2e3 [diff] |
Fix off-by-one issue when removing from Iterator MapCollections' iterator removes the preceding element which causes IndexOutOfBoundsExceptions to be thrown when removing the first element while iterating. Copied from frameworks/base/core/java/android/util/MapCollections.java bug:11477476 Change-Id: I3ea1dc5035aa1675336f60e014d9dcc22c4df065