Have the base classes track the adapters and provide an override-able
hook (onAdapterAttached()) to notify when the adapter is set.
Change-Id: I58ca5c6970328861327699ec497fa21288bce7df
This CL adds:
- CallInfo.mExtra and CallInfo.mCurrentCallServiceDescriptor. These
can be used by the selector to perform handoff.
- InCallService.setHandoffEnabled to enform the in-call UI that handoff
is allowed.
- InCallAdapater.handoffCall to initiate handoff.
Bug: 13643568
Change-Id: I94c28b10c0e0a253450f14d31ecdc416d5b44ca4
Previously the selector would communicate with Telecomm using
callbacks.
For handoff, it's easier to communicate using an adapter.
Bug: 13643568
Change-Id: Ida5859a3b5b15c9fa1c533f27a3e14fd0d7c36af
This CL adds wrappers for:
CallServiceLookupResponse
CallServiceAdapter
IInCallAdapter
IInCallService
This CL also moves all the aidl files into
com.android.internal.telecomm.
Change-Id: I840f023bc545643e8bb719825e7bc78344ee46ee
Move the consumer methods to the main thread and use response objects
to return the results back to the caller.
Change-Id: Ifc062cf49421079686d925406c823000232fa728