summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/TelecomManager.java
AgeCommit message (Collapse)Author
2019-11-16Expose new Telecom APIs for use by TelephonyHall Liu
Expose TelecomManager#getCallCapablePhoneAccounts(boolean) and ConnectionRequest#getTelecomCallId Bug: 141576153 Test: CTS Change-Id: Ie0214fc93682229a3e5781f62743f00f68472702
2019-11-11More telephony updates for mainline.Tyler Gunn
Add new TelecomManager#getDefaultDialerPackage which is multiuse aware; this is used when showing the voicemail notification. Remove some @hide methods from Conference; push these inline. Move ConferenceParticipantConnection into frameworks/opt/net/ims since it is just an IMS implementation detail. Bug: 141576016 Test: Manual smoke test. Test: Run unit tests. Test: Run CTS tests. Change-Id: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9
2019-11-09Merge RP1A.191024.001Steven Laver
Change-Id: I5cda3bba276e99d948b752be87d4599e9f882e0f
2019-11-08More telephony updates for mainline.Tyler Gunn
Add new TelecomManager#getDefaultDialerPackage which is multiuse aware; this is used when showing the voicemail notification. Remove some @hide methods from Conference; push these inline. Move ConferenceParticipantConnection into frameworks/opt/net/ims since it is just an IMS implementation detail. Bug: 141576016 Test: Manual smoke test. Test: Run unit tests. Test: Run CTS tests. Change-Id: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9 Merged-In: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9
2019-11-04new telephony annotation classChen Xu
This is a preparatory work for mainline. since Intdef is hidden, so we have to move some annotations (applied in SDK/system API) to a separate annotation class and having other module statically link to it. TODO: include telephony annotation in framework-non-updatable-sources Bug: 140908357 Test: Build Change-Id: I37f8a0624bbf27f264870ee9dbf03d3aaa5cadc1 (cherry picked from commit c9d4ee112e5441ae01502d597f6661f0feecc363) Merged-in: I37f8a0624bbf27f264870ee9dbf03d3aaa5cadc1 (cherry picked from commit 4712711d3d91621083bf92f5a1647b92c20a8b81)
2019-10-18Introduce telecom api to launch emeregency dialer.Fan Zhang
Test: manual Bug: 136194151 Change-Id: I5c9732062e5123539343843fb9a9ae3ca7111890
2019-10-02Merge "Add Telecom command for setting connectionservice filter" am: ↵Brad Ebinger
25f4dca660 am: 05e03e8c0c am: 4d4dc1165a am: 7acb9ff577 Change-Id: I2b4aa863848da2e0249c71577c55ecb0918a5ed0
2019-09-30Add Telecom command for setting connectionservice filterBrad Ebinger
For testing we need the emergency call to go through the CTS ConnectionService. This is achieved by passing in a package name filter for testing, which restricts which ConnectionServices are available for emergency calling. For safety this filter will be bypassed if the user calls an actual emergency number (instead of a test number). Bug: 138741228 Test: atest CtsTelecomTestCases Change-Id: I656533e4a36a7bba48625bf6f763731991695aed
2019-09-30new telephony annotation classChen Xu
This is a preparatory work for mainline. since Intdef is hidden, so we have to move some annotations (applied in SDK/system API) to a separate annotation class and having other module statically link to it. TODO: include telephony annotation in framework-non-updatable-sources Bug: 140908357 Test: Build Change-Id: I37f8a0624bbf27f264870ee9dbf03d3aaa5cadc1
2019-05-31Merge QP1A.190530.001Scott Lobdell
Change-Id: I802b7f465b775163726de0627cf9cb5e6773a190
2019-05-30Merge QP1A.190523.001Scott Lobdell
Change-Id: I48bbfdee20d40d144a8628ca32c8e1ca97f172b2
2019-05-22Add CAPABILITY_EMERGENCY_PREFERRED in PhoneAccountBrad Ebinger
Allow Telephony to mark a SIM PhoneAccount as emergency preferred, meaning that Telecom will override a user's PhoneAccount preference for emergency calls if the PhoneAccount has the CAPABILITY_EMERGENCY_PREFERRED capability. Bug: 131203278 Test: Manual testing, Telecom/Telephony unit testing Change-Id: I88b8bbfa444f5445b2f0d6a1542c6406a19b240f
2019-05-15Revert "Revert "Remove deprecated System APIs added in Q.""Suprabh Shukla
This reverts commit 79a19effee0de8c6363815893223d58ee830bbd0. Bug: 129975435 Change-Id: I113c87f8c0b7ab225e4b99ef2462ae12e199b816 (cherry picked from commit 169bed7b7a0eb0f6aa8ec82b0f392de467edc516)
2019-05-15Merge "Revert "Revert "Remove deprecated System APIs added in Q.""" into qt-devIan Pedowitz
2019-05-14Update API docs for TelecomManager#endCall.Tyler Gunn
Make it clear that ending an emergency call is not possible with this method. Test: Compile; this is a docs change. Bug: 132438333 Change-Id: I736b90e31723ee2055cedf16142c4d0f494bf49b
2019-05-13Revert "Revert "Remove deprecated System APIs added in Q.""Suprabh Shukla
This reverts commit 79a19effee0de8c6363815893223d58ee830bbd0. Bug: 129975435 Change-Id: I113c87f8c0b7ab225e4b99ef2462ae12e199b816
2019-05-11Merge changes from topics "role-dialer-dialog", "role-sms-dialog" into qt-devTreeHugger Robot
* changes: Deprecate intent action to the old changing default dialer/SMS dialogs. Remove TelecomManager.ACTION_CHANGE_DEFAULT_DIALER for apps targeting Q. Remove Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT for apps targeting Q.
2019-05-10Deprecate intent action to the old changing default dialer/SMS dialogs.Hai Zhang
Bug: 124452117 Bug: 131204827 Test: presubmit Change-Id: Iee636cf2dbcf4bdda5fc487d6883591e9463b0af
2019-05-10Make getSimCallManager msim awareBrad Ebinger
When there are multiple subscriptions available, the SIM call manager is currently resolved based on what the default voice subscription is. Add the ability for TelecomManager to get the SIM call manager for a Telephony subscription ID. Test: Manual; atest TelecomUnitTests Bug: 131627085 Change-Id: I748fcebb44f07fbc9deef0c6a07d2f15a44b22d3
2019-05-02Revert "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q."Ian Pedowitz
This reverts commit 02014297fd1c0e6673a91cf4b4215d4d2da8f133. Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th Bug: 129975435 Change-Id: Ia054b193a982dee669630555974d2d7831fe2b50
2019-04-30RESTRICT AUTOMERGE Remove deprecated System APIs added in Q.Sudheer Shanka
Test: Builds, boots Bug: 129975435 Change-Id: I4bfd0bfbbc52b7822477ec0c70a08de6f85a3672
2019-04-19Merge QP1A.190418.001Scott Lobdell
Change-Id: I2725d785c1524df5008f4e0db69a062239c3bc80
2019-04-11Telecom API doc cleanup.Tyler Gunn
InCallService - remove references to roles cut in Q release. TelecomManager - make it more clear how to use the silenceRinger method and under which conditions it should be used. Test: Compile; docs only. Fixes: 130285730 Change-Id: I55f9c2df119140666f8167e8521a4372d1108e7a
2019-04-05Merge QP1A.190404.001Diego Wilson
Change-Id: Id8d32c9377185cecfb4bacc9a86ad7a98ab17a25
2019-04-01Merge QP1A.190324.001Scott Lobdell
Change-Id: Ib4e8f5a59b14abf7868e475ce20ea01ad799e2b1
2019-04-01Remove call identification APIs.Tyler Gunn
Removing the CallIdentification API surface. Test: Build, run tests. Bug: 129531123 Change-Id: I5f1451ffba04ee438df739a17472c028c44f19b2
2019-03-22Merge QP1A.190306.002Scott Lobdell
Change-Id: I03ecfc99f5537322baa97591c0de731bee4481db
2019-03-13Merge "Remove support for event-based handovers." am: b2c1daf861 am: 3e232b28afTyler Gunn
am: 4b4d6f3072 Change-Id: I65d196d86eeda26c757adce77119cd5f62e9fbce
2019-03-13Merge "Remove support for event-based handovers."Tyler Gunn
am: b2c1daf861 Change-Id: I03aea3dffd4a7d1af24d281826f87945441d6d14
2019-03-12Remove support for event-based handovers.Tyler Gunn
Public APIs have been available for 2 releases; removing support for the EXTRA/EVENT-based handovers. Test: Manual Bug: 110846969 Change-Id: I4747a509a9fd4d41c161febb78fbb7e4e11699f2
2019-03-11Merge "Use a boolean Consumer instead of RoleManagerCallback."TreeHugger Robot
2019-03-11Merge "Remove TelecomManager#EXTRA_IS_ENABLED."Tyler Gunn
2019-03-08Use a boolean Consumer instead of RoleManagerCallback.Hai Zhang
And use RemoteCallback for it under the hood. This removes one AIDL interface and allows using lambda, while aligning with what PermissionControllerService does. Bug: 127691087 Test: manual Change-Id: Ia94e5bac59773380b2a4764d766bf6ff1dd5b7ff
2019-03-07Remove TelecomManager#EXTRA_IS_ENABLED.Tyler Gunn
This is not needed as part of the API given that RoleManager is used to tell if InCallServices are enabled when filling the companion app role. Test: Build/make api Bug: 126360569 Change-Id: I0da59cc17cf36e4a9e8cfacccce536c3e744bf53
2019-03-04Correct nullability and final constraints on new APIs.Tyler Gunn
Per API review, correct nullability and final constraints on new Telecom APIs. Test: Build API. Fixes: 126700293 Fixes: 126699447 Fixes: 126700465 Fixes: 126702895 Fixes: 126702527 Change-Id: Ic19664b156410e79a307b2af0d5672dc19f93c59 Merged-In: Icec15403493de596194a61b27bb3e1031fdc1099
2019-03-04Revert "Revert "Revert "Revert "Correct nullability and final constraints on ↵Slava Shklyaev
new APIs."""" This reverts commit 2fac9dd3d4d58229ff9edad75b00a28befb2ffc2. Reason for revert: the change being reverted was not supposed to be merged into git_master. Change-Id: Ieb9169fdd242edb72774e5c3d5824bc54b55cc05
2019-03-04Merge "Revert "Revert "Revert "Correct nullability and final constraints on ↵Slava Shklyaev
new APIs."""" am: 0bbf61f024 am: 08bc717117 am: 5317912537 Change-Id: Idab2d4174aa3d6a19f9573edf0d5ee3ecfa33201
2019-03-04Merge "Revert "Revert "Revert "Correct nullability and final constraints on ↵Slava Shklyaev
new APIs.""""
2019-03-04Revert "Revert "Revert "Correct nullability and final constraints on new ↵Slava Shklyaev
APIs.""" This reverts commit b255be1307aeae47ca7e8ee72ab4da670a1c49f1. Reason for revert: the commit being reverted fixed git_master but broke aosp-master. This revert is aimed to fix aosp-master while not touching git_master. DO NOT MERGE: This change is aimed at aosp-master only and should not be merged into git_master. Change-Id: Ie5aaabb211affe2d21daaf87809641276d9d4707
2019-03-04Merge "Revert "Revert "Correct nullability and final constraints on new ↵Slava Shklyaev
APIs.""" am: 86e2035208 am: 6ced2f195d am: 8e6b20f4f3 Change-Id: I0aa41b4fc5d08201deffccdaa25c50ae7942fe78
2019-03-04Merge "Revert "Revert "Correct nullability and final constraints on new APIs."""Slava Shklyaev
2019-03-04Revert "Revert "Correct nullability and final constraints on new APIs.""Slava Shklyaev
This reverts commit 8462c66bd52f3132c3fa03475fcab2af30618f67. Reason for revert: Looks like this change broke the build. Change-Id: I4cff1ec1211e278d5e5734f1594c096722293662
2019-03-03Merge "Revert "Correct nullability and final constraints on new APIs."" am: ↵Tyler Gunn
049867e364 am: 80379f24ec am: 7b0b6677c2 Change-Id: I5c38019d99e6258002fb5017fdf88733b7d1ffe7
2019-03-04Merge "Revert "Correct nullability and final constraints on new APIs.""Tyler Gunn
2019-03-04Revert "Correct nullability and final constraints on new APIs."Tyler Gunn
This reverts commit b6940c3ea6779bc6d062a430d9eebe192943f09a. Reason for revert: There appears to be a downstream issue with how the test API definitions are created; until I can figure out how to account for this I'll revert in AOSP (this is in internal master and its fine there). Change-Id: I840c3ed82afa18323408e161913a84858f7a1539
2019-03-04Merge "Correct nullability and final constraints on new APIs."Tyler Gunn
2019-03-01Expose some APIs as test APIs to facilitate CTSTyler Gunn
Test: added new cts tests Bug: 123896388 Merged-In: I742f23be57e731307338591d816f7888e198b333 Change-Id: I742f23be57e731307338591d816f7888e198b333
2019-03-01Correct nullability and final constraints on new APIs.Tyler Gunn
Per API review, correct nullability and final constraints on new Telecom APIs. Test: Build API. Fixes: 126700293 Fixes: 126699447 Fixes: 126700465 Fixes: 126702895 Fixes: 126702527 Change-Id: Icec15403493de596194a61b27bb3e1031fdc1099 Merged-In: Icec15403493de596194a61b27bb3e1031fdc1099
2019-03-01Correct nullability and final constraints on new APIs.Tyler Gunn
Per API review, correct nullability and final constraints on new Telecom APIs. Test: Build API. Fixes: 126700293 Fixes: 126699447 Fixes: 126700465 Fixes: 126702895 Fixes: 126702527 Change-Id: Icec15403493de596194a61b27bb3e1031fdc1099
2019-02-25Merge QP1A.190219.001Scott Lobdell
Conflicts: services/core/java/com/android/server/ConnectivityService.java services/core/java/com/android/server/WiredAccessoryManager.java services/core/java/com/android/server/connectivity/tethering/TetheringConfiguration.java telephony/java/com/android/internal/telephony/cdma/BearerData.java telephony/java/com/android/internal/telephony/cdma/SmsMessage.java Change-Id: I60b1e80a910466b3c25483ad140d23b160239650