Fix ConcurrentModificationException
This commit is contained in:
parent
3a7d6a9626
commit
5424a03ff4
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ public class MapMarkersHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateSyncGroupDisabled(@NonNull MapMarkersGroup group, boolean disabled) {
|
private void updateSyncGroupDisabled(@NonNull MapMarkersGroup group, boolean disabled) {
|
||||||
List<MapMarker> groupMarkers = group.getMarkers();
|
List<MapMarker> groupMarkers = new ArrayList<>(group.getMarkers());
|
||||||
for (MapMarker marker : groupMarkers) {
|
for (MapMarker marker : groupMarkers) {
|
||||||
if (marker.history) {
|
if (marker.history) {
|
||||||
if (disabled) {
|
if (disabled) {
|
||||||
|
|
Loading…
Reference in a new issue