Remove CallServiceSelectors and replace them with comprehensive
support for Subscriptions as the means of selecting ways of making
phone calls. After this change, a ConnectionService is not a
semantically meaningful "way of making a call" -- it's more like the
mechanism whereby the Android system communicates with a 3rd party
process to ask for phone services. We anticipate each process having
only one ConnectionService.
Change-Id: I11e6e246ae999683b3800496e98c93c3351aca7b
As part of the effort to permit third-party suppliers of telephone
connectivity, we permit clients of TelephonyManager to obtain the
currently valid Subscription objects describing these suppliers. The
Subscriptions are intended to be self-describing such that an end-user
can choose from among them based on the information they contain. One
of these objects may then be attached to an ACTION_DIAL or ACTION_CALL
Intent to represent the end-user's choice of how to make a call.
Change-Id: I2ad1930079042d7bfe762b47c22f0538f7403bff
Conflicts:
telephony/java/com/android/internal/telephony/ITelephony.aidl
Conflicts:
telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
If optional extra EXTRA_SPEAKERPHONE_ON is added
to an ACTION_DIAL intent, the speakerphone will turn
on automatically once the call is connected.
Bug: 6810980
Change-Id: Ie4e1c5b413e72f9b0dbd590384571147a43a11ac
Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.
Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
(cherry picked from commit 976bfe497da31fa8322969648ffbe77898941d0c)
Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.
Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
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