commit | 30c204d307b1d931f1e9c7e743b866b9bfa17adc | [log] [tgz] |
---|---|---|
author | Alice Wang <aliceywang@google.com> | Tue Nov 15 12:50:51 2022 +0000 |
committer | Alice Wang <aliceywang@google.com> | Tue Nov 15 13:01:41 2022 +0000 |
tree | fc9d647b90d104c0bcfcfd08a3cd6b566290a0e7 | |
parent | a8c0dd747c7aa7127d0bf0f53bcea5ac955b8339 [diff] |
[rpc_binder] Adjust return when raw socket is not set up This cl adjusts the return in RpcServer::setupRawSocketServer() when the socket_fd is not set up. Prior to this cl, errno is returned. This can be confusing as errno is not always set up in this case. The current CL fixed this and logged more clear information. Test: atest binderRpcTest Bug: 222479468 Change-Id: Ic9718cbf3cf08befe4044e7f5f021b915b4c4c41