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

Skip to content
Commit 4407bc1e authored by Andrei Homescu's avatar Andrei Homescu
Browse files

RPC Binder: Fix TIPC disconnect error code

TIPC on Android returns ENOTCONN if the connection
goes down. Most of libbinder uses DEAD_OBJECT which is
-EPIPE instead. This adds a new function that converts
-ENOTCONN to DEAD_OBJECT manually when returning from
RpcTransportTipcAndroid, for better compatibility with
the rest of libbinder and its tests.

Bug: 230135749
Test: binderRpcToTrustyTest
Change-Id: I6e4b7bdbe214f23f195e14a0e023eba7e944085b
parent 637a8a4b
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