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

Commit 735d2e40 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "le_audio: Stop audio on shutdown"

parents 6f1be416 d6de0160
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1321,9 +1321,7 @@ public class LeAudioService extends ProfileService {
                volume = getAudioDeviceGroupVolume(groupId);
            }

            final boolean suppressNoisyIntent = hasFallbackDevice || mActiveAudioOutDevice != null
                    || (getConnectionState(previousActiveOutDevice)
                    == BluetoothProfile.STATE_CONNECTED);
            final boolean suppressNoisyIntent = hasFallbackDevice || mActiveAudioOutDevice != null;

            mAudioManager.handleBluetoothActiveDeviceChanged(mActiveAudioOutDevice,
                    previousActiveOutDevice, BluetoothProfileConnectionInfo.createLeAudioOutputInfo(