Loading system/gd/rust/linux/stack/src/bluetooth.rs +3 −0 Original line number Diff line number Diff line Loading @@ -2247,6 +2247,9 @@ impl IBluetooth for Bluetooth { } fn set_name(&self, name: String) -> bool { if self.get_name() == name { return true; } self.intf.lock().unwrap().set_adapter_property(BluetoothProperty::BdName(name)) == 0 } Loading Loading
system/gd/rust/linux/stack/src/bluetooth.rs +3 −0 Original line number Diff line number Diff line Loading @@ -2247,6 +2247,9 @@ impl IBluetooth for Bluetooth { } fn set_name(&self, name: String) -> bool { if self.get_name() == name { return true; } self.intf.lock().unwrap().set_adapter_property(BluetoothProperty::BdName(name)) == 0 } Loading