summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-09-01 19:37:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-01 19:37:00 +0000
commit8b3df297e86da8ca796f3604101c4ea975d04598 (patch)
treed116e56a0e245de1a5297684a238a0834e38c263
parent9592c9d586e606d0d762b4334981159d2236295b (diff)
parent4447b46bb457d05b4685652b25d7c7e5103b2dd6 (diff)
downloadnative-8b3df297e86da8ca796f3604101c4ea975d04598.tar.gz
Merge "libbinder_ndk: clarify error prune functions" am: 4447b46bb4
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1416528 Change-Id: I87781ff6e4c44c39827564d2c7b745bebdf2fe4c
-rw-r--r--libs/binder/ndk/status.cpp8
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;
}
}