Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.
Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
(cherry picked from commit 976bfe497da31fa8322969648ffbe77898941d0c)
Cherry picked from branch lmp-preview-dev because checking the changes into master required an API update, whereas the relevant APIs are @hide-ed in the source branch.
Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.
Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
(cherry picked from commit 20536bc3c4d40fa96306b0319d8313a7437fc702)
Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.
Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
- Add API methods to InCallService and ITelecommService.
- Remove old methods from ITelephony.
- Route the TelephonyManager methods through ITelecommService instead of
ITelephony.
- Update Lock screen to use TelephonyManager instead of ITelephony.
Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.
Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).
Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
(cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)
Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.
Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).
Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
Add logging utility class from packages/services/Telecomm to the Telecomm
classes in the framework.
Change-Id: I54a9edc4daa24ffdeb15b08afc5ad8a238d04291
Creates a new API for Connection Services providing phone connections to
the Android system. Supersedes CallService API, which will be gradually
replaced by this one.
Change-Id: Ie4b06c1b0843a777c5b8ee9c5dd12b9d9f990980
Expose CallState.NEW so that we have a state before DIALING. Immediately
transitioning calls to DIALING is wrong, because that shouldn't happen
until the CallService is actually dialing.
Bug: 13902624
Change-Id: Id5ee0d4d050deb2f3038f3de8fdd265caa75f7b2
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
Documentation is out of date. Also, frameworks/base doesn't seem to
have README files except for test directories.
Change-Id: I408ede48d592e6f640a040c7be97d272a1c15bd5
Add parcelable GatewayInfo class used to store gateway info in
Call and CallInfo.
Add gateway-related string constants to TelecommConstants
Bug: 13477768
Change-Id: I35b2de2d66edeed6273f6cba5329ca0f26264db6
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