Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4235ddb0 authored by Atneya Nair's avatar Atneya Nair
Browse files

Add binder unhandled exception notification

Exceptions which are not parcelled by binder are dropped on the service
side. For oneway txns, all exceptions are dropped.

Add an extension point to Java binder interface implementations to
generically handle an exception which will be dropped, by
logging/crashing or some other facility.

Bug: 150808347
Test: atest BinderUncaughtExceptionHandlerTest
Test: Manual (handled vs unhandled exception in subsequent CL)
Flag: EXEMPT safe addition, no api
Merged-In: I6aa97c363ccf21af262ad95efc20611c78796e32
Change-Id: I6aa97c363ccf21af262ad95efc20611c78796e32

(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:38e04d4ee890cb87e2a5952fd2cb928638bdf8b3)

Change-Id: Ic7696dcb7fee6b1f69ade78e5b496c0b3a0015f6
parent 1c8ab2cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment