commit | 4407bc1e3a473f7c6c7beaef61b5862c67640e58 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Tue Mar 21 23:25:25 2023 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Tue Mar 21 23:32:16 2023 +0000 |
tree | fd2345dd917f3f57220f827a863b5a3c5a058c96 | |
parent | 637a8a4b41c5d68d3768bd65f218818a6a1a3a5f [diff] |
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