commit | 2fb4301a70b343241482cb8359767612d7735be2 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Wed Aug 17 04:15:00 2022 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Fri Aug 19 18:04:04 2022 +0000 |
tree | 1e88776bdf04a9c8ec9931c865d2be4850d572b3 | |
parent | a858b0eaf42b2323599272317eaeaf828cae5e0a [diff] |
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