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

Commit e46250c1 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

LeAudioService: Minor, remove reduntant call to volumeControlService

Volume control service is not interested in groupid -1

Bug: 309882321
Test: atest LeAudioServiceTest
Tag: #feature
Change-Id: I6613d9fca576a90dfc321f7f2aae989ba62d9601
parent 965cf947
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1259,8 +1259,10 @@ public class LeAudioService extends ProfileService {
            volumeControlService.setGroupActive(getGroupId(mExposedActiveDevice), false);
        }

        if (device != null) {
            volumeControlService.setGroupActive(getGroupId(device), true);
        }
    }

    /**
     * Send broadcast intent about LeAudio active device.