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

Commit 6a6f6cab authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

floss: Fix typo in D-Bus method

Fixes D-Bus projection typo and removes a redundant doc comment.

Bug: 202334519
Tag: #floss
Test: Manual

Change-Id: I41ce723264d334710170fa3ffb68ba05f6d1cb38
parent 7c489a83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ impl IBluetoothConnectionCallback for IBluetoothConnectionCallbackDBus {
    #[dbus_method("OnDeviceConnected")]
    fn on_device_connected(&self, remote_device: BluetoothDevice) {}

    #[dbus_method("OnDeviceDisconencted")]
    #[dbus_method("OnDeviceDisconnected")]
    fn on_device_disconnected(&self, remote_device: BluetoothDevice) {}
}

+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ impl IBluetoothConnectionCallback for BluetoothConnectionCallbackDBus {
    #[dbus_method("OnDeviceConnected")]
    fn on_device_connected(&self, remote_device: BluetoothDevice) {}

    #[dbus_method("OnDeviceDisconencted")]
    #[dbus_method("OnDeviceDisconnected")]
    fn on_device_disconnected(&self, remote_device: BluetoothDevice) {}
}

+0 −1
Original line number Diff line number Diff line
@@ -886,7 +886,6 @@ impl IBluetooth for Bluetooth {
            == 0
    }

    /// Set passkey on bonding device.
    fn set_passkey(
        &self,
        device: BluetoothDevice,