Loading system/gd/rust/linux/client/src/callbacks.rs +1 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ impl BtCallback { } impl IBluetoothCallback for BtCallback { fn on_adapter_property_changed(&self, prop: BtPropertyType) {} fn on_adapter_property_changed(&self, _prop: BtPropertyType) {} fn on_address_changed(&self, addr: String) { print_info!("Address changed to {}", &addr); Loading system/gd/rust/linux/stack/src/bluetooth.rs +1 −1 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ impl BtifBluetoothCallbacks for Bluetooth { _ => {} } self.properties.insert(prop.get_type(), prop); self.properties.insert(prop.get_type(), prop.clone()); self.for_all_callbacks(|callback| { callback.on_adapter_property_changed(prop.get_type()); Loading Loading
system/gd/rust/linux/client/src/callbacks.rs +1 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ impl BtCallback { } impl IBluetoothCallback for BtCallback { fn on_adapter_property_changed(&self, prop: BtPropertyType) {} fn on_adapter_property_changed(&self, _prop: BtPropertyType) {} fn on_address_changed(&self, addr: String) { print_info!("Address changed to {}", &addr); Loading
system/gd/rust/linux/stack/src/bluetooth.rs +1 −1 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ impl BtifBluetoothCallbacks for Bluetooth { _ => {} } self.properties.insert(prop.get_type(), prop); self.properties.insert(prop.get_type(), prop.clone()); self.for_all_callbacks(|callback| { callback.on_adapter_property_changed(prop.get_type()); Loading