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

Commit c7c9a230 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Dont loose focus for remote suspend only in case of call"

parents 025d800d 7e328b4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ final class A2dpSinkStateMachine extends StateMachine {
                    mPlayingDevice = null;
                    broadcastAudioState(device, BluetoothA2dpSink.STATE_NOT_PLAYING,
                                        BluetoothA2dpSink.STATE_PLAYING);
                    if ((mAudioFocusAcquired == AUDIO_FOCUS_LOSS_TRANSIENT) ||
                    if ((mAudioFocusAcquired == AUDIO_FOCUS_LOSS_TRANSIENT) &&
                                     (state == AUDIO_STATE_REMOTE_SUSPEND)) {
                        log(" Dont't Loose audiofocus in case of suspend ");
                        break;