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

Commit 603dbff9 authored by Jeremy Wu's avatar Jeremy Wu Committed by Gerrit Code Review
Browse files

Merge "Floss: allow |stop_audio_request| to clear |REMOTE_SUSPEND| flag" into main

parents 579d20b1 6ab964a4
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2726,11 +2726,6 @@ impl IBluetoothMedia for BluetoothMedia {
    }

    fn stop_audio_request(&mut self) {
        if !self.a2dp_audio_state.values().any(|state| *state == BtavAudioState::Started) {
            info!("No active stream on A2DP device, ignoring request to stop audio.");
            return;
        }

        debug!("Stop audio request");

        match self.a2dp.as_mut() {