OSDN Git Service

Binder: Change reaction to Error
authorAndreas Gampe <agampe@google.com>
Sat, 9 Sep 2017 00:44:05 +0000 (17:44 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 12 Sep 2017 22:11:20 +0000 (15:11 -0700)
commit75a75d642b62f8e7df511256c7f3d86a12699878
tree072d6e8eb11eb742dc1b7be8971a48f8dd1c1ff1
parent563cd2d3ca5e08eea47dad9de080f77a52f39dd1
Binder: Change reaction to Error

Instead of aborting immediately with a native error, try to call
Thread.dispatchUncaughtException to trigger a Java-side abort.
Only fall back to the old strategy if this fails.

(cherry picked from commit 1cd76f5c93bc1e2409c880cade19a323cd999aed)

Bug: 64689630
Test: m
Test: manual test
Merged-In: If07a04d3769f3b9181c4736220333df9a2871a16
Change-Id: If07a04d3769f3b9181c4736220333df9a2871a16
core/jni/android_util_Binder.cpp