diff options
| author | 2024-10-14 14:13:43 -0700 | |
|---|---|---|
| committer | 2024-10-29 17:11:35 +0000 | |
| commit | 5a0bc1ef9f697dbc973480b5aba4c07d420711a7 (patch) | |
| tree | 85f84f39512e50d5be4a1d646dce03f7c3146b21 /api/api.go | |
| parent | feaf5240b03119c1a176eadf9d21cf17874e9a9a (diff) | |
Add InterfaceDiedCallback to RemoteCallbackList
Some of the existing uses of RemoteCallbackList extend the class to
override onCallbackDied. However with the Builder pattern it is no
longer possible to do so.
This change offers an alternative that works with the Builder pattern. A
new Builder API setInterfaceDiedCallback() is added to allow the caller
to provide custom death handling logic.
Flag: android.os.binder_frozen_state_change_callback
Change-Id: Ib777d9920d8332a09a6da3601ad3bab071fb9cba
Test: atest --instant android.os.cts.RemoteCallbackListTest
Bug: 361157077
API-Coverage-Bug: 372923111
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions