Skip to content
Commit f42e63d8 authored by Steven Moreland's avatar Steven Moreland
Browse files

HIDL Java: DeadObjectException

Allow HIDL to throw DeadObjectException (which extends RemoteException)
like AIDL in order to distinguish this error.

There is a slight risk of API breakage here because someone could be
guarding against DeadObjectException already for AIDL code and ignoring
all HIDL exceptions within that scope. In this case, HIDL code which
previously did not trigger the DeadObjectException could trigger that
code path. However, mixing AIDL and HIDL like this would already be
considered extremely unsafe.

Fixes: 160169016
Test: hidl_test_java
Change-Id: I259070bbba5cabb52cf7cf5a11cb5d5c21abeff8
parent 2f3b72b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment