diff options
| author | 2024-07-16 12:37:22 -0700 | |
|---|---|---|
| committer | 2024-07-16 13:23:57 -0700 | |
| commit | d6863d2e5d04a63c9d30c7f35967e183baf1b298 (patch) | |
| tree | db92852b42349d41278a2a236125e6dfeceb1185 /api/api_test.go | |
| parent | 62733fb8833d11f74f786113653ca9bcc6bc5c22 (diff) | |
Use the standard AIDL Delegator
Use the supported IApplicationThread.Delegator class instead of the
one-off ApplicationThreadFilter.  The Delegator class is created by
adding the @JavaDelegator annnotation to the IApplicationThread.aidl
specification.
ApplicationThreadDeferred extends IApplicationThread.Delegator with
one important change from normal Delegator use: the asBinder() method
must be overridden in this case.
Test: atest
 * FrameworksServicesTests:com.android.server.am
 * FrameworksMockingServicesTests:com.android.server.am
Flag: com.android.server.am.defer_binders_when_paused
Bug: 327038797
Change-Id: Idc08df00a99521b7cbb3e54dc2045ddbaadaa67b
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions