Merge "Make RankingHelper$Record.groups thread-safe" into oc-dev am: 892cd3e1e6 am: da1c11400b

am: 4b2209546c

Change-Id: Ia02534a8d23cb857ac0994bca9261aed5696bae7
This commit is contained in:
Shunta Sato
2017-06-16 02:08:22 +00:00
committed by android-build-merger

View File

@@ -53,6 +53,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.concurrent.ConcurrentHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
@@ -1186,6 +1187,6 @@ public class RankingHelper implements RankingConfig {
boolean showBadge = DEFAULT_SHOW_BADGE;
ArrayMap<String, NotificationChannel> channels = new ArrayMap<>();
ArrayMap<String, NotificationChannelGroup> groups = new ArrayMap<>();
Map<String, NotificationChannelGroup> groups = new ConcurrentHashMap<>();
}
}