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

Skip to content
Commit d6863d2e authored by Lee Shombert's avatar Lee Shombert
Browse files

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
parent 62733fb8
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