summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/DisconnectCause.java
AgeCommit message (Collapse)Author
2021-03-10Propagate Telephony disconnect cause to Telecom.Tyler Gunn
Propagate telephony disconnect causes and imsreasoninfo to Telecom for propagation to CAllDiagnosticService. Plumb through disconnect message override in CallDiagnosticService. Test: Added new CTS test coverage for these APIs. Test: Manual test with telecom test app; verify the disconnect message is overridden. Bug: 163085177 Change-Id: I0c6938f2d0a46d535ae201364193ef58e07ec488
2020-09-23API tweaks in response to feedbackHall Liu
Update documentation on PhoneAccount#EXTRA_SORT_ORDER to make it more clear what the sorting order is in edge cases. Make DisconnectCause#REASON_EMULATING_SINGLE_CALL public, since it might get propogated up to dialer apps. Fixes: 169153499 Test: docs only Change-Id: I7f810f909a8a61b422283c3bafcc97307e4d863b
2020-09-14Expose Telecom constants for use in TelephonyHall Liu
Expose Telecom constants that are used in Telephony in preparation for mainline. Exposure is a combination of public/system -- those which made sense for 3pty apps to access were made public. Fixes: 168551099 Test: atest CtsTelecomTestCases Change-Id: I688f04ba4ddf0498bad3463888fae71cdff2844a
2019-11-18Add support for disconnecting outgoing calls for emergency callsBrad Ebinger
1) Add CarrierConfig to allow/disallow holding calls for emergency calls. 2) If holding an ongoing call for an emergency call is disallowed, define a new DisconnectCause reason to notify telecom/dialer of this disconnect reason. Bug: 138741228 Test: atest CtsTelecomTestCases; atest CtsTelephonyTestCases Change-Id: I7c6a1d0f648c598111ed047fbb9c609843c6aba9
2019-02-28All Parcelable CREATOR fields are @NonNull.Jeff Sharkey
If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
2019-02-04Add connect time to conference participant.Youming Ye
Bug: 78176188 Test: Manual Change-Id: Ifb7f061ddcc69356a21d08c9c446edeb38a6674c
2018-02-07Atom: CallStateChangedTej Singh
Adds CallStateChanged atom, including the state and disconnect cause (when the state is disconnected). Makes the constants in CallState.java (in packages/services) and DisconnectCause.java reference the proto enum. Test: atest TelecomUnitTests, verified events were received in adb logcat -b stats Change-Id: I5c4d91387259fc7349e17551962cb490f5ed9f36
2017-06-30Adds a new string definition for IMS Access blocked reasonBrad Ebinger
When a call is disconnected with the Telephony DisconnectCause IMS_ACCESS_BLOCKED, DisconnectCause#getReason will now return the reason REASON_IMS_ACCESS_BLOCKED. Bug: 33821263 Test: manual tests Change-Id: Ic17cefa35a51f739c893923a2db7f3dca8ada202
2016-12-07Add reason code used to tell dialer when call failed due to WFC being off.Tyler Gunn
Adding new reason code which will be sent to Dialer to display a message to the user when the call fails to the WFC being off. Test: Manual Bug: 28709116 Change-Id: I155fda9a47823d6d3f68be6f07dbe64998a582ae
2016-06-09Telephony multi-endpoint disconnect causes.Tyler Gunn
A few disconnect cause mappings were missing for the multi-endpoint disconnect causes. Adding them here. Bug: 29236416 Change-Id: I669bd72290c0e823c54eb6062ebd658743882852
2016-05-06Un-@hide multi-endpoint APIs.Tyler Gunn
Bug: 28621640 This reverts commit 1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72. Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
2016-04-15Hide multi-endpoint APIs.Tyler Gunn
Per feature council decision, the multi-endpoint APIs will be @hide for the N release. Bug: 28196918 Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
2016-03-14Add API support for multi-endpoint.Tyler Gunn
This CL includes changes required to support multi-endpoint (see the design doc linked off the bug). Main changes include: - support for indicating if a call/connection is "external" to the device. - support for indicating if an external call can be pulled from the remote device to the local device. - API used to initiate a pull of a call external to the current device to the current device. - Made the "connection event" API public (was previously @hide); this will be used to support passing some error events involving pulling calls to the incall ui. - Added new InCallService metadata which will be used to determine if an InCallService wants to be informed of external calls. - New disconnect causes which will be used to expose the fact that a multi-endpoint call was answered elsewhere and that a call ended because it was pulled to another device. - New call log call types to indicate if calls were answered elsewhere or pulled to another device. Bug: 27458894 Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
2016-02-17Add APIs to support CDMA add-call limitations.Santos Cordon
Bug: 22850789 Change-Id: I63de958c6c788a7da5696416e59d2f43cbe633cc
2015-04-24Fix up DisconnectCause description.Santos Cordon
Change-Id: Ib2b52b6f8bc8fe945df3684f4e1ed9e04f78b061
2015-04-15Make Telecom/InCallUI APIs publicJay Shrauner
Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2014-11-10Apply @hide / @SystemApi to android.telecom.*Evan Charlton
Move the android.telecom.* namespace back to @hide, and also mark it with @SystemApi so that system-privileged apps can use them. Bug: 18302450 Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c
2014-11-05Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCauseSailesh Nepal
This CL adds a new disconnect cause. Connection managers can specify this disconnect cause when it doesn't want to route calls. Bug: 16903083 Change-Id: I05822991c5c34ca3533652a10fbcb8845a604925
2014-10-29More updates to javadocs for Telecom APIs.Santos Cordon
Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
2014-09-24Revert "@hide ConnectionService APIs."Evan Charlton
This reverts commit 86935c406e4a8bb0e2ad871b51009f3603df9e87.
2014-09-23@hide ConnectionService APIs.Tyler Gunn
Bug: 17569532 Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
2014-09-19Add constructor for DisconnectCause that does not require a tone.Nancy Chen
In order to create a DisconnectCause with a label/description that does not require specifying a tone. Bug: 17486242 Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
2014-09-16Add new DisconnectCause class to telecomm.Andrew Lee
+ Add a hidden "UNKNOWN" default type to ToneGenerator. - Hide the Telephony DisconnectCause from the public API. + Add a Telecomm DisconnectCause. This is parcelable, and contains information (code, user facing message, non-user facing reason, and tone) to help describe the disconnect state and what behaviors an application can implement for the user experience. This reduces the causes for a disconnect to a more generic set. + Lots of work to pipe this through. DisconnectCause replaces the code and message which were formerly passed around. Bug: 17241433 Bug: 17329632 Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17