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

Commit 084502da authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi
Browse files

floss: Fix broken test

Bug: 201599762
Tag: #floss
Test: ./build.py --target test
Change-Id: I3d356feb12d1c6ee6116d685a6e1dc0ec178c195
parent c933f347
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1413,7 +1413,9 @@ mod tests {
    }

    impl RPCProxy for TestBluetoothGattCallback {
        fn register_disconnect(&mut self, _id: u32, _f: Box<dyn Fn(u32) + Send>) {}
        fn register_disconnect(&mut self, _f: Box<dyn Fn(u32) + Send>) -> u32 {
            0
        }

        fn get_object_id(&self) -> String {
            self.id.clone()