commit | 4235ddb0ef0a07cfe21bba65d39b8cd1c5bee39a | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Thu Sep 26 00:25:20 2024 +0000 |
committer | Atneya Nair <atneya@google.com> | Thu Sep 26 10:56:31 2024 -0700 |
tree | 3caf12e6217e83ca503766a7fefdaf5e88dafb7c | |
parent | 1c8ab2cfa871540a96bb58610dcd244e8ca92c19 [diff] |
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