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 16:11:54 +0000 (09:11 -0700)
commit48760f6960ffa2e7dc8411d6a28c47bc961a2000
treea3f549e92cc597fea5b1a773eec1eb811d97c558
parentc7ea7effde64c682ba8ddaca0fd9ac4354029e41
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.'

(cherry picked from commit 58383ba095f552a58ed416736fe049126c647ffd)

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