summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2022-08-17 04:15:00 +0000
committer Andrei Homescu <ahomescu@google.com> 2022-08-19 18:04:04 +0000
commit2fb4301a70b343241482cb8359767612d7735be2 (patch)
tree1e88776bdf04a9c8ec9931c865d2be4850d572b3 /libs/gui/LayerState.cpp
parenta858b0eaf42b2323599272317eaeaf828cae5e0a (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
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions