Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9885988 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

CSIS: add missing piece of patch

This patch adds change that was lost during internal chery-pick
of Change-Id: I9d4590b68b20ce23b849e024575224db427bd224

Bug: 150670922
Test: atest CsipSetCoordinatorServiceTest
Tag: #feature
Change-Id: I2e30f51230c172c8966c6ff71f696188abd358a5
parent a73b7edf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -540,7 +540,7 @@ public class CsipSetCoordinatorService extends ProfileService {
     * @return map of group id and related uuids.
     */
    public Map<Integer, ParcelUuid> getGroupUuidMapByDevice(BluetoothDevice device) {
        Set<Integer> device_groups = mDeviceGroupIdMap.get(device);
        Set<Integer> device_groups = mDeviceGroupIdMap.getOrDefault(device, new HashSet<>());
        return mGroupIdToUuidMap.entrySet()
                .stream()
                .filter(e -> device_groups.contains(e.getKey()))