Merge "Add noexcept to move constructors and assignment operators."
diff --git a/transport/HidlBinderSupport.cpp b/transport/HidlBinderSupport.cpp
index add1f5e..a2ca5fa 100644
--- a/transport/HidlBinderSupport.cpp
+++ b/transport/HidlBinderSupport.cpp
@@ -212,7 +212,8 @@
// Something really bad has happened, and we're not going to even
// try returning rich error data.
if (s.exceptionCode() == Status::EX_TRANSACTION_FAILED) {
- return s.transactionError();
+ status_t status = s.transactionError();
+ return status == OK ? FAILED_TRANSACTION : status;
}
status_t status = parcel->writeInt32(s.exceptionCode());