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

Commit d84d4a60 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "libbinder: trusty: remove empty buffer assertion" into main

parents f4f053c4 baf8e668
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -148,9 +148,8 @@ impl UnbufferedService for RpcServer {
        &self,
        conn: &Self::Connection,
        _handle: &Handle,
        buffer: &mut [u8],
        _buffer: &mut [u8],
    ) -> tipc::Result<MessageResult> {
        assert!(buffer.is_empty());
        let rc = unsafe { binder_rpc_server_bindgen::ARpcServerTrusty_handleMessage(conn.ctx) };
        if rc < 0 {
            Err(TipcError::from_uapi(rc.into()))