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

Skip to content
Commit 2fb4301a authored by Andrei Homescu's avatar Andrei Homescu
Browse files

libbinder: return error correctly in RpcTransportTipcAndroid

The callback passed to interruptableReadOrWrite is expected
to emulate read() so it should return -1 on error and set errno.
This fixes the RpcTransportTipcAndroid implementation to do
that instead of returning the error directly.

Bug: 224644083
Test: presubmit
Change-Id: I486bb8db2abc4c519ebce3f4f9c0ec8741f69ff4
parent a858b0ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment