commit | 5428551ba9052172bfac5dc27e84f861b472c03d | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Aug 10 19:10:55 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Aug 10 19:10:55 2020 +0000 |
tree | e9dbc4208fe841a5cdf86c14cbe90ab07a69038a | |
parent | 4a91699105dabfc1b267099c66e9214b1ed77839 [diff] | |
parent | 582d62b67f5706eb7f27769b06e37e1327720a98 [diff] |
Merge "Remove unnecessary type and dup for fd"
diff --git a/sensors/2.0/multihal/HalProxy.cpp b/sensors/2.0/multihal/HalProxy.cpp index fbff24c..f27f28a 100644 --- a/sensors/2.0/multihal/HalProxy.cpp +++ b/sensors/2.0/multihal/HalProxy.cpp
@@ -275,7 +275,7 @@ return Void(); } - android::base::borrowed_fd writeFd = dup(fd->data[0]); + int writeFd = fd->data[0]; std::ostringstream stream; stream << "===HalProxy===" << std::endl;