diff options
| author | 2017-04-19 08:03:00 +0000 | |
|---|---|---|
| committer | 2017-04-19 08:03:04 +0000 | |
| commit | dc51eedd1f8d9935a52daf624cac48dbce2ec305 (patch) | |
| tree | 859c0d32d4c84c36eb6ce69ab467925896de4012 | |
| parent | fe1bddfbb54c20156b45e99c9d18166d702c9adb (diff) | |
| parent | ccc9fad9e6abfa3cf082567669cc5d03ec7a3086 (diff) | |
Merge "Binder: Log details of pending exception." into oc-dev
| -rw-r--r-- | core/jni/android_util_Binder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_util_Binder.cpp b/core/jni/android_util_Binder.cpp index 1aed501335c4..de67c50e7195 100644 --- a/core/jni/android_util_Binder.cpp +++ b/core/jni/android_util_Binder.cpp @@ -193,10 +193,10 @@ static void report_exception(JNIEnv* env, jthrowable excep, const char* msg) if (env->IsInstanceOf(excep, gErrorOffsets.mClass)) { /* * It's an Error: Reraise the exception and ask the runtime to abort. - * This will dump the pending exception as well as all thread traces - * to the log. */ env->Throw(excep); + ALOGE("java.lang.Error thrown during binder transaction (stack trace follows) : "); + env->ExceptionDescribe(); env->FatalError("java.lang.Error thrown during binder transaction."); } |