Loading system/gd/rust/linux/stack/src/bluetooth_media.rs +3 −2 Original line number Diff line number Diff line Loading @@ -1299,9 +1299,10 @@ impl BluetoothMedia { // or pre-exists, and that an app which disconnects from WebHID may not have trigger // the UHID_OUTPUT_NONE, we need to remove all pending HID calls on telephony use // release to keep lower HF layer in sync and not prevent A2DP streaming self.hangup_call_impl(); if self.hangup_call_impl() { self.phone_state_change("".into()); } } self.telephony_callbacks.lock().unwrap().for_all_callbacks(|callback| { callback.on_telephony_use(address.to_string(), state); }); Loading Loading
system/gd/rust/linux/stack/src/bluetooth_media.rs +3 −2 Original line number Diff line number Diff line Loading @@ -1299,9 +1299,10 @@ impl BluetoothMedia { // or pre-exists, and that an app which disconnects from WebHID may not have trigger // the UHID_OUTPUT_NONE, we need to remove all pending HID calls on telephony use // release to keep lower HF layer in sync and not prevent A2DP streaming self.hangup_call_impl(); if self.hangup_call_impl() { self.phone_state_change("".into()); } } self.telephony_callbacks.lock().unwrap().for_all_callbacks(|callback| { callback.on_telephony_use(address.to_string(), state); }); Loading