summaryrefslogtreecommitdiffstats
path: root/rcs/rcsservice
Commit message (Collapse)AuthorAgeFilesLines
* Perform a retry if creating the presence service failsandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-devpie-b4s4-releasepie-b4s4-devBrad Ebinger2018-06-291-0/+8
| | | | | | | | | | | If the service handle's value is < 0, perform a retry instead of blocking indefinitely. Bug: 109782868 Test: Add contacts and make sure device publishes status and retrieves capabilities. Change-Id: I54f52b54a30f49c0834963df76a42d89a6e589bf
* Move VT ContentObserver to TelephonyProvider.pie-devBrad Ebinger2018-04-261-19/+14
| | | | | | | | | | | | The user VT setting was moved from settings into the TelephonyProvider in P. RCS presence service is still relying on ContentObserver changes in settings. Move over to listening for changes in the siminfo database and query VT user setting for that instead. Bug: 78076949 Test: manual, enable/disable user VT setting and watch Presence changes. Change-Id: I5d793b043ef10640c9d355371b703a697798804f
* Move protected broadcasts to TelephonyBrad Ebinger2018-03-282-25/+5
| | | | | | | | | | | | | Protected broadcasts defined in rcsservice manifest were still being flagged with WTFs. Moved to Telephony Manifest. Also cleaned up an old intent that is not used and only use explicit intents for Alarm Receiver. Bug: 76179999 Test: Manual, make sure WTF doesn't occur Change-Id: Id1c8b2bd7b89fcce64bfa214690447b3ca644928
* Merge "Destroys the Presence Service when service is down."android-wear-p-preview-2android-p-preview-3android-p-preview-2android-p-preview-1Brad Ebinger2018-02-231-0/+12
|\
| * Destroys the Presence Service when service is down.Brad Ebinger2018-02-221-0/+12
| | | | | | | | | | | | | | | | | | Also calls destroyPresenceService when UCE_SERVICE_DOWN is received to make sure everything is cleaned up properly. Bug: 73558136 Test: Manual Change-Id: I3f02616c226b35e4979075c4073d1353b13e6455
* | external/ims: Set LOCAL_SDK_VERSION where possible.Anton Hansson2018-02-231-0/+1
|/ | | | | | | | | | | | | | | | This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: I682b936f71e10800e5d9163e1cb823cfc362a030
* Update Import statementsBrad Ebinger2018-01-311-1/+1
| | | | | | | | | | Updates import statements to support ImsService API changes Bug: 63987047 Test: Build Merged-In: I75fa06c37ff4161a203f78b2c32ec041a5e0815c Change-Id: I75fa06c37ff4161a203f78b2c32ec041a5e0815c
* Replace ImsManager static methods with non-static.android-wear-8.0.0_r1Malcolm Chen2018-01-121-11/+16
| | | | | | | | | | ImsManager static methods are deprecated since it doesn't support MSIM devices. Bug: 67602046 Test: build and regression tests Change-Id: I568687c9f3761441d254de2453a6c7df15fff151 Merged-In: I568687c9f3761441d254de2453a6c7df15fff151
* Wait until the SIM is loaded for IMS Registrationoreo-dr1-devBrad Ebinger2017-08-091-4/+17
| | | | | | | | | | | | We need to wait until a sim is detected an loaded to register for IMS Registration updates, or there is a possibility that we will try to register for an IMS Registration listener with an invalid Phone Id. Bug: 64375490 Test: Manual Change-Id: I2f2f9c33908a1ce049f8025c1fa3f06ba4b27032
* Stop RcsService crash when CarrierConfig misbehavesBrad Ebinger2017-05-041-3/+8
| | | | | | | | | When the CarrierConfig config returns null, we do not crash anymore. Bug: 37868318 Test: Manual Testing Change-Id: Icb6d2d99bc108d5c238f1a90ef382457f6c43f35
* Turn implicit RCS broadcast to startService instead am: d4d3d762a7 am: ↵Brad Ebinger2017-02-151-3/+15
|\ | | | | | | | | | | | | | | ee8176647d am: eafc81d8b1 am: 01e835687e Change-Id: Ieb7dc17ebe2cce3276c3e6480291cff64ec88e10
| * Turn implicit RCS broadcast to startService instead am: d4d3d762a7 am: ↵android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Brad Ebinger2017-02-151-3/+15
| |\ | | | | | | | | | | | | | | | | | | | | | ee8176647d am: eafc81d8b1 Change-Id: I8a50953adbb0fcb035a0d344f339110d9be6fdf8
| | * Turn implicit RCS broadcast to startService insteadandroid-o-preview-1o-previewBrad Ebinger2017-02-141-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With background check enabled, RcsPresence.ACTION_PUBLISH_STATE_CHANGED is no longer starting the PersistService in the RcsStackAdapter. This change removes the receiver and instead launches the service directly when the PersistService is needed. Test: Manual Bug: 35319937 Change-Id: I4395ce9b1baa2e23bb10208e0de4aedf11de5051
* | | Sync mobile data status to modem on device bootup am: 2605a94fb3Meng Wang2017-01-031-0/+6
|\| | | | | | | | | | | | | | | | | am: b81da0ec47 Change-Id: Ice1bf49834d46e0c32c710ef7d905c67c60ddcf5
| * | Sync mobile data status to modem on device bootupandroid-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devMeng Wang2016-12-191-0/+6
| |/ | | | | | | | | Bug: 32580033 Change-Id: Idaf55df062f30df7853bbaa0a4ae192ed20e9f4b
* | Update ImsConnectionStateListenerMeng Wang2016-12-121-2/+2
| | | | | | | | | | | | | | | | | | 1. Replace onImsConnected() with onImsConnected(int) 2. Replace onImsProgressing() with onImsProgressing(int) Bug: 33430556 Test: m Change-Id: If077b960c44ca2aa71c26bdec3505208fc6d9333
* | Modify the PresenceListener AIDL implementationBrad Ebinger2016-11-091-0/+4
| | | | | | | | | | | | | | | | Modifies the IPresenceListener AIDL implementation to include a new method unpublishMessageSent(). Test: Manual Testing Change-Id: Ic6cc0c72be12b614baa486d988b7a6fb8efa3c55
* | Update reference to carrier_volte_provisionedJordan Liu2016-10-051-2/+5
|/ | | | | | | | | Update the reference to config_carrier_volte_provisioned. With the move to carrier config this value should be retrieved using CarrierConfigManager. Bug: 29873049 Change-Id: I687518178ac64003d2ca7cfc782bdc29582511f1
* Monitor provision status change and handle it accordinglyBrad Ebinger2016-08-041-1/+6
| | | | | | | | Upstreaming a Motorola bug that updates the provision status for a device if it is changed. Bug: 30679688 Change-Id: Ibd7e2ad03feacd9adc088e6d55f86eeeb66b50ad
* Fix synchronization issues in RcsStackAdapterBrad Ebinger2016-07-281-144/+167
| | | | | | | | Fixes a NPE in the RcsStackAdapter due to multiple threads accessing unprotected private state variables. Bug: 30359573 Change-Id: I7344520658c6f1e57a7ffd1a7124bd218f92eba5
* Make RCS broadcasts protectedBrad Ebinger2016-07-271-0/+2
| | | | | | | | Mark overlooked RCS broadcast intents as protected. Change-Id: I1adb82ae6d3ff4818263030d95419fa8f3dbe0ac Fix: 30430669 Fix: 30402079
* Protect Presence and EAB broadcastsPavel Zhamaitsiak2016-06-241-0/+1
| | | | | Bug: 29581795 Change-Id: Ide70a3490ceb353f415794e2c5bdb40c28db8f96
* Do not log phone number and name even for debug.Vineeta Srivastava2016-06-235-14/+0
| | | | | Bug: 29596374 Change-Id: Ibd9f810627955c7f5cadb1ff0b0eebddaff9f270
* Protect com.android.service.ims.presence.retry broadcastPavel Zhamaitsiak2016-06-151-0/+1
| | | | | Bug: 29228175 Change-Id: Ifc8b3196f17caddf38d23b4a60ac6dee34695a62
* Move rcs from frameworks/opt/net/ims to external/imsPavel Zhamaitsiak2016-05-0223-0/+5743
Bug: 27811089 Change-Id: I4ac4948096373f1dfe119d21c7d0870ccdb061db