Fix ConcurrentModificationException

This commit is contained in:
Alexander Sytnyk 2018-03-15 15:26:11 +02:00
parent 3a7d6a9626
commit 5424a03ff4

View file

@ -939,7 +939,7 @@ public class MapMarkersHelper {
}
private void updateSyncGroupDisabled(@NonNull MapMarkersGroup group, boolean disabled) {
List<MapMarker> groupMarkers = group.getMarkers();
List<MapMarker> groupMarkers = new ArrayList<>(group.getMarkers());
for (MapMarker marker : groupMarkers) {
if (marker.history) {
if (disabled) {