diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-09-01 18:52:45 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-09-01 18:52:45 +0000 |
commit | 4447b46bb457d05b4685652b25d7c7e5103b2dd6 (patch) | |
tree | 5cb4706b999d75fb664c09192077479fa3cbcbd7 | |
parent | 6f94260396731ef54a503d7c8a6b9a40eca2bd44 (diff) | |
parent | 23c30e9e86e097695a2237cbe482c78d6d5ed076 (diff) | |
download | native-4447b46bb457d05b4685652b25d7c7e5103b2dd6.tar.gz |
Merge "libbinder_ndk: clarify error prune functions"
-rw-r--r-- | libs/binder/ndk/status.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/binder/ndk/status.cpp b/libs/binder/ndk/status.cpp index 87e1341f36..d889593474 100644 --- a/libs/binder/ndk/status.cpp +++ b/libs/binder/ndk/status.cpp @@ -123,8 +123,8 @@ binder_status_t PruneStatusT(status_t status) { return STATUS_UNKNOWN_ERROR; default: - LOG(WARNING) << __func__ - << ": Unknown status_t pruned into STATUS_UNKNOWN_ERROR: " << status; + LOG(WARNING) << __func__ << ": Unknown status_t (" << status + << ") pruned into STATUS_UNKNOWN_ERROR"; return STATUS_UNKNOWN_ERROR; } } @@ -155,8 +155,8 @@ binder_exception_t PruneException(int32_t exception) { return EX_TRANSACTION_FAILED; default: - LOG(WARNING) << __func__ - << ": Unknown status_t pruned into EX_TRANSACTION_FAILED: " << exception; + LOG(WARNING) << __func__ << ": Unknown binder exception (" << exception + << ") pruned into EX_TRANSACTION_FAILED"; return EX_TRANSACTION_FAILED; } } |