summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2019-09-25 13:18:09 -0700
committer Steven Moreland <smoreland@google.com> 2019-09-25 13:20:38 -0700
commit6adf33cee0be6d8b7da88fac45f36b6983fedaaa (patch)
tree690ee0d82b6373c001505e7d85a1c1ba9854c20f /libs/binder/IPCThreadState.cpp
parentb5f8331e88468625a58fa161935acd083ffa9c85 (diff)
libbinder: Replace abort with LOG_ALWAYS_FATAL
So that we have better error understanding. Bug: 141290044 Test: TH Change-Id: I2cd16fa80c91fd5c573fbc8202031abe7f075b4b
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index 7c45c775c7..c6660973f8 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -597,9 +597,8 @@ void IPCThreadState::joinThreadPool(bool isMain)
result = getAndExecuteCommand();
if (result < NO_ERROR && result != TIMED_OUT && result != -ECONNREFUSED && result != -EBADF) {
- ALOGE("getAndExecuteCommand(fd=%d) returned unexpected error %d, aborting",
+ LOG_ALWAYS_FATAL("getAndExecuteCommand(fd=%d) returned unexpected error %d, aborting",
mProcess->mDriverFD, result);
- abort();
}
// Let this thread exit the thread pool if it is no longer