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

Commit f250e23f authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

Floss: Fix test in stack

Added placeholder RPCProxy::export_for_rpc to satisfy the trait.
Also removed an unused trait.

Bug: 200732080
Tag: #floss
Test: Manual - build.py --target test

Change-Id: I8203ebc194feb8efafdb0d8a1c0965955b215f03
parent f6f3671e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -237,8 +237,6 @@ impl BluetoothDBus {
    }
}

trait DBusExportable {}

#[generate_dbus_interface_client]
impl IBluetooth for BluetoothDBus {
    #[dbus_method("RegisterCallback")]
+2 −0
Original line number Diff line number Diff line
@@ -1458,6 +1458,8 @@ mod tests {
        fn unregister(&mut self, _id: u32) -> bool {
            false
        }

        fn export_for_rpc(self: Box<Self>) {}
    }

    use super::*;