Commit Graph

4924 Commits

Author SHA1 Message Date
Brad Ebinger
3fa3e90c3f Merge "Add ims registration status" 2017-09-08 17:04:31 +00:00
Tyler Gunn
e9cccb4bcf Merge "Ensure *# are included in TTS spans generated with PhoneNumberUtils." into oc-mr1-dev am: e3cf5cda13
am: 60c202e27b

Change-Id: Ie9ce490397eec47ccf5b0b9ba436fb696b2188fe
2017-09-07 22:09:42 +00:00
Chen Xu
382ec5fec8 Merge "disable carrier actions on redirection part 2" into oc-mr1-dev am: b6a1c5f06b
am: 4de11ebc0f

Change-Id: I035beeaf3c14f3ed42f15a2ae0036b065b9149f8
2017-09-07 21:29:18 +00:00
Tyler Gunn
60c202e27b Merge "Ensure *# are included in TTS spans generated with PhoneNumberUtils." into oc-mr1-dev
am: e3cf5cda13

Change-Id: I1802be47585e42ecf7d09e6b523ae6ef1f6b0556
2017-09-07 17:14:49 +00:00
Chen Xu
4de11ebc0f Merge "disable carrier actions on redirection part 2" into oc-mr1-dev
am: b6a1c5f06b

Change-Id: Ida67351bac953f7b1bc4eb3d0ebc8a331e55b9a1
2017-09-07 16:40:51 +00:00
Tyler Gunn
e3cf5cda13 Merge "Ensure *# are included in TTS spans generated with PhoneNumberUtils." into oc-mr1-dev 2017-09-07 15:14:44 +00:00
fionaxu
b537d740c1 disable carrier actions on redirection part 2
DO NOT MERGE handle the corner case: user on new pixel device update from O-DR to
O-MR when they are in captive portal scenario. In this scenrio,
we enabled captiveportalLoginActivity has the default url handler. this
will be persist and reset on sim absent/sim load/network avail.
On my previous fix, I removed all the signals which means after OTA
we won't reset this part. We should leave the reset signal to ensure
no carrier actions applied. even if something abnormal happens, we can
recover gracefully from reboot.

Bug: 65113738
Test: Manual
Change-Id: I445c7bce01e0bf36214f5f4f6327a0582c774dae
2017-09-06 14:55:35 -07:00
Ping Sun
e0e3cbd304 Add ims registration status
Changes the below to display the "IMS registration status" menu
in Status Info setting.
1. Add a new API "isImsRegistered(int subId)" so that IMS registration
status for specific subscription is acquired.
2. Add a carrier config for the customization.

Test: manual Checked "IMS registration state" in Status Info setting
Bug: 28806101
Change-Id: I6c452c512f03cf41704b91331e44141ed3050cf9
2017-09-06 16:41:17 +00:00
Sanket Padawe
e01a735ebc Merge "Deprecate TelephonyManager APIs which are present in TelecomManager." 2017-09-06 05:50:58 +00:00
fionaxu
1af24abbb9 Merge "disable carrier actions on redirection by default" into oc-mr1-dev am: 5bed401148
am: bd1a716135

Change-Id: I6e0ef66e1cd96683b37f8eff0a8f6fbd4d2901f7
2017-09-06 04:19:45 +00:00
fionaxu
bd1a716135 Merge "disable carrier actions on redirection by default" into oc-mr1-dev
am: 5bed401148

Change-Id: Ie7fc58959699716fc3bd25dfa67a9f1567452009
2017-09-06 04:11:02 +00:00
TreeHugger Robot
5bed401148 Merge "disable carrier actions on redirection by default" into oc-mr1-dev 2017-09-06 04:01:43 +00:00
Xiangyu/Malcolm Chen
d2dff96c45 Merge "Add EVENT_ROAMING_SETTING_CHANGE in DctConstants." into oc-mr1-dev am: aa4c059da1
am: 647f6a7ceb

Change-Id: Idf5cf1c5ae7d85d4730fbed7522cb63942487ee9
2017-09-06 01:45:09 +00:00
Xiangyu/Malcolm Chen
647f6a7ceb Merge "Add EVENT_ROAMING_SETTING_CHANGE in DctConstants." into oc-mr1-dev
am: aa4c059da1

Change-Id: Ie4484da4a56fc041d21afcc2a3ebb7a387cbd52c
2017-09-06 01:22:49 +00:00
Xiangyu/Malcolm Chen
aa4c059da1 Merge "Add EVENT_ROAMING_SETTING_CHANGE in DctConstants." into oc-mr1-dev 2017-09-06 01:09:35 +00:00
Tyler Gunn
c78a615dc0 Ensure *# are included in TTS spans generated with PhoneNumberUtils.
PhoneNumber utils has a method, createTtsSpan, which creates a span
for talkback to speak a phone number.  Due to a bug in Talkback it used
to strip out * and # characters.

Removing this limitation as the bug in talkback has been fixed.

Test: Manual, added unit tests
Bug: 63613215
Change-Id: I983a98a18830e32760602723e695f11e3eab9ffe
2017-09-05 14:28:47 -07:00
fionaxu
204777011d disable carrier actions on redirection by default
1. the assumption of "carrier will redirect users to their captive
portal page when users dont have data plan" might not be true for all
carriers. We have seem issues like carriers random redirect users when
they still have balance left.
2. turn this off by default and turn it on if the carrier is
behaving correctly and agree with it.

Bug: 65113738
Test: Manual
Change-Id: I6bc2d8ba45958eaf09e09e3ea2e57c79e0ac461e
2017-09-05 14:15:04 -07:00
Sanket Padawe
fc329a3ed6 Deprecate TelephonyManager APIs which are present in TelecomManager.
Bug: 62346128
Test: Build
Change-Id: I4c3b4652f5d22215572d64b764bcd42bb7295ebe
2017-09-05 01:47:40 -07:00
Xiangyu/Malcolm Chen
913bdaaadc Merge "Remove getIntWithSubId in TelephonyManager." 2017-09-01 18:23:45 +00:00
Bin Chen
4a5a45be4b Merge "Fix typo in CarrierConfigManager javadoc." am: ea598a4f14 am: 3a443cd347 am: c08cbb31cc
am: 92ae90e85a

Change-Id: I28f3ae85f80084b0a29bf817ee7bdc2b80f95b46
2017-09-01 18:11:53 +00:00
Bin Chen
92ae90e85a Merge "Fix typo in CarrierConfigManager javadoc." am: ea598a4f14 am: 3a443cd347
am: c08cbb31cc

Change-Id: Ifd1728d99c72644854e0161fefa4ac13bcc2bbee
2017-09-01 17:54:56 +00:00
Bin Chen
3a443cd347 Merge "Fix typo in CarrierConfigManager javadoc."
am: ea598a4f14

Change-Id: I663aab8773193681760b6ac0a241fde913e5d585
2017-09-01 17:25:07 +00:00
Bin Chen
503513de9e Fix typo in CarrierConfigManager javadoc.
Change-Id: Ie9d2f7aa705b7895777dcfa27e6826babff64e29
2017-09-01 18:20:20 +08:00
TreeHugger Robot
2026fa3377 Merge "Unhide enable_apps carrier config key." 2017-08-31 18:54:57 +00:00
Tyler Gunn
8ce0ee01b5 Merge "De-couple data enabled from VT settings." into oc-mr1-dev am: e0f1f26d87
am: 8d2b05ab50

Change-Id: Ib96d9d3e1dbbf5252806c8b50c2e023ed71d9e8d
2017-08-31 15:31:37 +00:00
Tyler Gunn
8d2b05ab50 Merge "De-couple data enabled from VT settings." into oc-mr1-dev
am: e0f1f26d87

Change-Id: I424cd828a7616c2947367bdb4a82a62cf17847e7
2017-08-31 15:22:44 +00:00
Tyler Gunn
e0f1f26d87 Merge "De-couple data enabled from VT settings." into oc-mr1-dev 2017-08-31 15:13:08 +00:00
Hall Liu
1407bdd635 Merge "Make slight API and doc adjustments" into oc-mr1-dev 2017-08-30 20:41:53 +00:00
Brad Ebinger
381b228bb6 Merge "Adds ERROR state to ImsConfig" into oc-mr1-dev am: ed6e29f292
am: 063d5e871a

Change-Id: Ie2fe8bcc167e91b983bf6ec9548589b140f3976e
2017-08-30 19:02:13 +00:00
Brad Ebinger
063d5e871a Merge "Adds ERROR state to ImsConfig" into oc-mr1-dev
am: ed6e29f292

Change-Id: Id412c0be939da6240a66a942730fd18badabb6c6
2017-08-30 18:48:34 +00:00
Brad Ebinger
ed6e29f292 Merge "Adds ERROR state to ImsConfig" into oc-mr1-dev 2017-08-30 18:31:43 +00:00
Tyler Gunn
fd8ffa0798 Merge "Handle alternate status values." into oc-mr1-dev am: 0240dc99db
am: bbe8f8fd07

Change-Id: If24337066ead738d141e20fbe8a271fa93de39ae
2017-08-30 00:33:12 +00:00
Tyler Gunn
bbe8f8fd07 Merge "Handle alternate status values." into oc-mr1-dev
am: 0240dc99db

Change-Id: Ie386bdb4c77df1305d80f604f48174794c3ee0c1
2017-08-29 22:07:41 +00:00
Tyler Gunn
0240dc99db Merge "Handle alternate status values." into oc-mr1-dev 2017-08-29 21:06:20 +00:00
Malcolm Chen
b0d99e435b Add EVENT_ROAMING_SETTING_CHANGE in DctConstants.
Bug: 64746542
Test: Manual
Change-Id: I91a0cb078e40b5491085a39de7c551065c00da30
2017-08-29 20:56:58 +00:00
Junda Liu
4793b28d3f Unhide enable_apps carrier config key.
Bug: 62907095
Test: manual
Change-Id: Ifa16c967dadf7788cd190d5ad152fc642fc267f2
2017-08-29 20:22:44 +00:00
Brad Ebinger
27ca268756 Adds ERROR state to ImsConfig
Adds the ERROR return state for bool provisioning values
so that we can throw an Exception in some cases.

Bug: 64540800
Test: Manual
Change-Id: I0b79837c694d245999031ec65783857e114b7c75
2017-08-29 16:29:18 +00:00
Hall Liu
1e211675ca Make slight API and doc adjustments
* Fix a compile error on Java 7
* Update initialization mechanism to allow exceptions and return codes
* App-facing api for StreamingService#dispose no longer throws an
IllegalArgumentException
* Add REASON_NONE to stream state change reasons

Bug: 30981736
Change-Id: I4710c6e56b35f74188f5877f0cf74b7773c1e9b7
2017-08-28 18:17:58 -07:00
Tyler Gunn
b229ddabda Handle alternate status values.
Some carriers use sendrecv to indicate a call in a conference is active,
and sendonly to indicate that the remote party has held the call.
Adding support for these status values.

This ensures that remotely held calls for these carriers are set to held.

Test: Manual
Bug: 33272103
Change-Id: I4a950c4e143d5ac396b30569dbda0b1cf4e92a3e
2017-08-28 17:44:55 +00:00
Brad Ebinger
0a538a2804 Merge "Emergency redial implementation" am: b3b09849bc am: f5a457244c
am: 1d8a6e4ee7

Change-Id: I8689b700ff77127534d5560fac1d849615e8f567
2017-08-25 20:56:03 +00:00
Brad Ebinger
f5a457244c Merge "Emergency redial implementation"
am: b3b09849bc

Change-Id: If7fe179da4eb4c639dad1e2957f091bbee9e54f9
2017-08-25 20:31:26 +00:00
Brad Ebinger
b3b09849bc Merge "Emergency redial implementation" 2017-08-25 20:05:53 +00:00
Shuo Qian
782395561d Merge "Add new error code in SmsManager"
am: 387ed22fef

Change-Id: Iff96995b90ecd6ae7fcceebf6b2017344038be72
2017-08-25 18:15:12 +00:00
Shuo Qian
387ed22fef Merge "Add new error code in SmsManager" 2017-08-25 18:01:18 +00:00
Srikanth Chintala
fcb1501620 Emergency redial implementation
Define connection event to notify
Telecom/InCallUi about change in
account handle after redial and extra
for emergency phone handle.

Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
2017-08-25 10:08:56 -07:00
Brad Ebinger
12772485cc Merge "Emergency redial implementation" 2017-08-25 17:05:06 +00:00
Shuo Qian
bf1a674ed7 Merge "Add new error code in SmsManager" into oc-mr1-dev am: 1dafcc89a5
am: a43b382766

Change-Id: Ic1a8824e1f1d2e3a7655484d23ff658d3d5fd40d
2017-08-24 22:02:47 +00:00
Tyler Gunn
3da596d291 Merge "Add new telephony disconnect causes for low battery scenario."
am: 573948c49c

Change-Id: I73255cdc492992b03633831a2d9240b933f21064
2017-08-24 21:53:57 +00:00
Shuo Qian
a43b382766 Merge "Add new error code in SmsManager" into oc-mr1-dev
am: 1dafcc89a5

Change-Id: I938ddabfe0d98ee1eee850ba9d6aeb857ebb748f
2017-08-24 21:44:54 +00:00
sqian
85bb4b35f1 Add new error code in SmsManager
Design doc: https://docs.google.com/a/google.com/document/d
/1YPTNoM2Atjz8oISGAsRYlFVSA1NcYP8MbqYQIzLcJ9E/edit?usp=sharing

Test: compile/flash code; test locally
Bug: 34773406
Change-Id: I0b227e76048dd46d9c8023d37647db763e1e38e1
Merged-In: I0b227e76048dd46d9c8023d37647db763e1e38e1
2017-08-24 14:40:59 -07:00