diff options
author | 2019-09-25 13:18:09 -0700 | |
---|---|---|
committer | 2019-09-25 13:20:38 -0700 | |
commit | 6adf33cee0be6d8b7da88fac45f36b6983fedaaa (patch) | |
tree | 690ee0d82b6373c001505e7d85a1c1ba9854c20f /libs/binder/IPCThreadState.cpp | |
parent | b5f8331e88468625a58fa161935acd083ffa9c85 (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.cpp | 3 |
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 |