Merge "Remove unnecessary type and dup for fd" am: 5428551ba9 am: f8f2391f8e

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374049

Change-Id: I4151bc9aa650bbdb5545875d14760455efe62fe7
This commit is contained in:
Treehugger Robot
2020-08-10 19:50:59 +00:00
committed by Brian Duddie
parent a080c418be
commit 667ef2c4c7

View File

@@ -341,7 +341,7 @@ Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>&
return Void();
}
android::base::borrowed_fd writeFd = dup(fd->data[0]);
int writeFd = fd->data[0];
std::ostringstream stream;
stream << "===HalProxy===" << std::endl;