OSDN Git Service

Binder: Add more logging on Error
authorAndreas Gampe <agampe@google.com>
Mon, 12 Jun 2017 17:43:05 +0000 (10:43 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 13 Jun 2017 02:07:58 +0000 (19:07 -0700)
commit58383ba095f552a58ed416736fe049126c647ffd
treed2c1e0d8bb342292ae85b1e6718293ade0c33606
parentcfd0f9beeed9c1934b47a2914533cdd06c9f79e3
Binder: Add more logging on Error

Try to add the Error's message to the abort, so that it shows up
when the logcat is missing.

Sample message:

'jni_internal.cc:508] JNI FatalError called: java.lang.Error thrown during binder transaction: java.lang.LinkageError: This is a test.'

Bug: 62514767
Test: m
Change-Id: I12026bb7a8ec9438db493f135ed5d0177187f702
core/jni/android_util_Binder.cpp