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

Commit 7b325bb3 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Minor coding style fix

Bug: 150670922
Sponsor: @jpawlowski
Test: compile
Change-Id: I440e62498a4dc9568f00a54651421dfb9e006c4f
parent a4a143f5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -770,14 +770,16 @@ public class LeAudioService extends ProfileService {
     * Report the active devices change to the active device manager and the media framework.
     * @param groupId id of group which devices should be updated
     * @param newActiveContexts new active contexts for group of devices
     * @param oldActiveContexts old active contexts for group of devices
     * @param isActive if there is new active group
     */
    private void updateActiveDevices(Integer groupId, Integer oldActiveContexts,
            Integer newActiveContexts, boolean isActive) {

        BluetoothDevice device = null;

        if (isActive)
        if (isActive) {
            device = getFirstDeviceFromGroup(groupId);
        }

        boolean outReplaced =
            updateActiveOutDevice(device, groupId, oldActiveContexts, newActiveContexts);