Loading system/gd/rust/linux/stack/src/bluetooth.rs +7 −0 Original line number Diff line number Diff line Loading @@ -949,6 +949,10 @@ impl IBluetooth for Bluetooth { } let address = addr.unwrap(); // BREDR connection won't work when Inquiry is in progress. self.cancel_discovery(); self.intf.lock().unwrap().create_bond(&address, transport) == 0 } Loading Loading @@ -1153,6 +1157,9 @@ impl IBluetooth for Bluetooth { return false; } // BREDR connection won't work when Inquiry is in progress. self.cancel_discovery(); // Check all remote uuids to see if they match enabled profiles and connect them. let uuids = self.get_remote_uuids(device.clone()); for uuid in uuids.iter() { Loading Loading
system/gd/rust/linux/stack/src/bluetooth.rs +7 −0 Original line number Diff line number Diff line Loading @@ -949,6 +949,10 @@ impl IBluetooth for Bluetooth { } let address = addr.unwrap(); // BREDR connection won't work when Inquiry is in progress. self.cancel_discovery(); self.intf.lock().unwrap().create_bond(&address, transport) == 0 } Loading Loading @@ -1153,6 +1157,9 @@ impl IBluetooth for Bluetooth { return false; } // BREDR connection won't work when Inquiry is in progress. self.cancel_discovery(); // Check all remote uuids to see if they match enabled profiles and connect them. let uuids = self.get_remote_uuids(device.clone()); for uuid in uuids.iter() { Loading