Commit Graph

3836 Commits

Author SHA1 Message Date
Jack Yu
c045652026 Added CMAS/ETWS duplicate expiration support
Now message duplication detection will only look back messages
for 24 hours by default for all countries, except 1 hour in
Japan.

Test: runtest -x packages/apps/CellBroadcastReceiver/tests/unit

bug: 31171149
Change-Id: I6765c9cebdb3bd9ab6d065f10acbd66047a34d8c
2016-11-04 00:50:17 -07:00
pengzhicai
d0bc76db7f Merge "Fix String is empty issue" am: 80af1ba47b am: 38c585cb8d am: d7df704d98
am: f85e7930d8

Change-Id: I9e85d16bd3edc529a97e4df3b8f90e9fdb2ee486
2016-11-02 18:40:00 +00:00
pengzhicai
d7df704d98 Merge "Fix String is empty issue" am: 80af1ba47b
am: 38c585cb8d

Change-Id: I091572280b0b2a33a2a5e2339a08df0759bb2bd7
2016-11-02 18:29:24 +00:00
pengzhicai
38c585cb8d Merge "Fix String is empty issue"
am: 80af1ba47b

Change-Id: I7000d0fe8fd5c2145e628abec11b49653027138b
2016-11-02 18:23:26 +00:00
pengzhicai
7c30bb8e0f Fix String is empty issue
Maybe the string is empty
https://code.google.com/p/android/issues/detail?id=226739

Change-Id: I645ae05a8cbe316e29d9710de0bbba64c0c2275d
Signed-off-by: pengzhicai <pengzhicai@xiaomi.com>
2016-11-02 09:42:44 +08:00
Pankaj Kanwar
44b2ac9d3d Merge "Provide an API to make USSD calls and read the responses." 2016-11-01 17:42:32 +00:00
pkanwar
19ba736c22 Provide an API to make USSD calls and read the responses.
Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Ic1214330ddf6846973d8bd28ee6ff1d28ae8c852
2016-10-31 17:13:18 -07:00
TreeHugger Robot
9633c7092a Merge "CarrierConfig: add persist_lpp_mode_bool" 2016-10-26 22:14:47 +00:00
Jordan Liu
ff13cc20fe resolve merge conflicts of ab00546 to stage-aosp-master
am: bc2af49c21

Change-Id: I95cfcd3907105ef1969f02bf1229ba0c5eb9b8c7
2016-10-26 20:12:56 +00:00
Jordan Liu
bc2af49c21 resolve merge conflicts of ab00546 to stage-aosp-master
Change-Id: Ief51ceeeae7a11e26dd2c53411ce67e6d0e6bd49
2016-10-26 12:05:27 -07:00
Ecco Park
4fa1ab7029 CarrierConfig: add persist_lpp_mode_bool
Removing carrier specific function from
GnssLocationProvider.java

This property is used for persisting the current
lpp_mode of carrier even after sim is removed

Instead, we will use the property of carrier config

Bug: 32250938

Change-Id: Ibc69883723392cb0fbfcd8dbf3e866860db9dd5d
Signed-off-by: Ecco Park <eccopark@google.com>
2016-10-26 11:51:10 -07:00
Jordan Liu
ab005465b6 Merge "Add key to CarrierConfigManager" 2016-10-26 17:50:45 +00:00
nharold
c2a78d4e85 Merge "Update the docstring on getAllCellInfo() for unreported values" am: 88d0a95c74 am: b7e5c6fa32 am: c8fceb9834
am: 415a50e103

Change-Id: Id00cd16efdbfd49d09e61d25b082df897a8e76e2
2016-10-25 01:17:43 +00:00
nharold
c8fceb9834 Merge "Update the docstring on getAllCellInfo() for unreported values" am: 88d0a95c74
am: b7e5c6fa32

Change-Id: Ie5f6460962fac98bd63aa7b7d4e77e5bc84347e7
2016-10-25 01:06:07 +00:00
nharold
b7e5c6fa32 Merge "Update the docstring on getAllCellInfo() for unreported values"
am: 88d0a95c74

Change-Id: Ib482a5398776473ccb97c4df96115fc3763c782f
2016-10-25 00:57:36 +00:00
Nathan Harold
e327160103 Update the docstring on getAllCellInfo() for unreported values
In the event that not all fields are available for a particular
cell information report, those values are set to
Integer.MAX_VALUE. In addition, this docstring clarifies the
minimum expectation for what will be reported in all cases.

Bug: 32364031
Test: none
Change-Id: Ic5df72f69e5917eb495d349a380ced53a80408fa
2016-10-24 15:59:23 -07:00
Jordan Liu
b53000dd8c Merge "Add key for sms_convert_destination_number" 2016-10-19 00:40:43 +00:00
Jordan Liu
5ac6f5c95d Add key for sms_convert_destination_number
Add the CarrierConfig key
KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL
and remove the old configs. Note that this value no longer needs to be a
string-array, as CarrierConfigManager handles gid.

Bug: 29873049
Change-Id: I3edbcf5329177f6b370d08a09318c35c55e5e052
2016-10-18 13:15:18 -07:00
Jordan Liu
a9469e64e4 Merge "Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY" 2016-10-17 18:54:24 +00:00
Sooraj Sasindran
12575e41b8 Introduce the config to disable LAUNCH_BROWSER
LAUNCH BROWSER STK command may need to be disabled
if carrier would not want the default behavior.
So introduce a carrierconfig key for the same

Test: Swapped the sprint sim cards and verified
that browser launch do not happen.

Merged-in: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
BUG=31257758
Change-Id: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
2016-10-14 23:15:24 +00:00
Sooraj Sasindran
6a3d36fdc0 Introduce the config to disable LAUNCH_BROWSER
LAUNCH BROWSER STK command may need to be disabled
if carrier would not want the default behavior.
So introduce a carrierconfig key for the same

Test: Swapped the sprint sim cards and verified
that browser launch do not happen.

Merged-in: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
BUG=31257758
Change-Id: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
2016-10-14 15:55:12 -07:00
Jordan Liu
2420a0a7d7 Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY
Add the key to CarrierConfigManager and remove the old configs which are
no longer needed.

Test: ran "make checkbuild" locally
Bug: 29873049
Change-Id: I2197cabca2addbbbe15f0f13985a6f5d8794d64a
2016-10-11 16:17:23 -07:00
Jordan Liu
9011f8f926 Merge "Add key for carrier_volte_provisioned" 2016-10-11 18:24:49 +00:00
Naveen Kalla
9d48e7cc2f Add RIL_UNSOL_MODEM_RESTART message
RIL_UNSOL_MODEM_RESTART will be sent by vendor RILs when it detects
a modem restart along with the reason for restart which could be a
crash signature if the modem restarted due to a crash or a some
other string such as a user-initiated restart or AT command
initiated restart.

Change-Id: Idf08e20a49e82d40f6aa0854d23384c35c2efc3a
2016-10-10 20:27:27 +00:00
Hall Liu
f503480cd1 Add logging to CallerInfoAsyncQuery am: 4c01910cb0 am: d4f18dd117
am: ecc5e42284

Change-Id: Ia899d8c9301e65c25efbbbd4b6febfbd025677ae
2016-10-08 19:01:52 +00:00
Hall Liu
ecc5e42284 Add logging to CallerInfoAsyncQuery am: 4c01910cb0
am: d4f18dd117

Change-Id: I5cdba233e5cc9f47527a9ef6fb69c40b70ae90a9
2016-10-06 22:01:10 +00:00
Hall Liu
4c01910cb0 Add logging to CallerInfoAsyncQuery
Add logging to CallerInfoAsyncQuery to help diagnose timeout errors

Bug: 31755827
Change-Id: If7cf34baf084ca8916952842585a32b3e93eba73
2016-10-05 16:56:17 -07:00
Jordan Liu
f2456cb127 Add key to CarrierConfigManager
Add KEY_DEFAULT_VM_NUMBER_STRING and default value. Note that default
vm number no longer needs to be a string array, as gid is handled
within the new carrier_configs. Also remove references to old config.
Merged-In: I56e4e3713c27f449fd892db501b6097c8c89c3c6

Bug: 29873049
Change-Id: I56e4e3713c27f449fd892db501b6097c8c89c3c6
2016-10-05 11:02:38 -07:00
Jordan Liu
c82d113279 Add key for carrier_volte_provisioned
Add the key to CarrierConfigManager and remove old configs.

Bug: 29873049
Change-Id: Icf3075fe39d3466732ea81738cb29c512f840401
2016-10-04 15:50:10 -07:00
Jordan Liu
5ffaae6efe Merge "Add editable_voicemail_number key to CarrierConfig" am: 25b64aad01 am: 2b7118fcbf
am: c44e7f3f76

Change-Id: I208e7871029efc1ca331fac3b240d337d00d3189
2016-10-04 18:30:19 +00:00
Jordan Liu
3643dd1a7a Add editable_voicemail_number key to CarrierConfig
Add KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL and default value to
CarrierConfigManager, and remove the references to the old config in
core/res/res/values/[config.xml/symbols.xml]

This value exists to fix http://b/14093735. If a SIM card has no
voicemail number available, since the default number is empty, we allow
users to edit the voicemail number when this flag is true.
Merged-In: I68a494e2176306e4e9181a8ccb0aa818f3e08154

Bug: 29873049
Change-Id: I68a494e2176306e4e9181a8ccb0aa818f3e08154
2016-09-29 17:21:15 -07:00
Jordan Liu
a7768e2b15 fix branch break by adding carrierconfig key am: e787323e03
am: 1e1c060378

Change-Id: I0d76442494289c6b920c84a7c07bd635f515da88
2016-09-29 23:53:52 +00:00
Jordan Liu
e787323e03 fix branch break by adding carrierconfig key
Add KEY_CDMA_3WAYCALL_FLASH_DELAY_INT and default value to
CarrierConfigManager

Bug: 29873049
Change-Id: I53dc93defbfa7d1366e6ee066638d73df03f88d0
2016-09-29 15:25:46 -07:00
Jordan Liu
180aadfb86 Merge "Add dial_string_replace key to CarrierConfig" am: 715903f3c6 am: 9fba74dd3a
am: d34ae93d8b

Change-Id: I6753d00b4d9fed455cb153294f956cf3ad9f826f
2016-09-29 18:12:39 +00:00
Jordan Liu
14f4fd7d0b Merge "Add cdma_3waycall_flash_delay key to CarrierConfig" 2016-09-29 17:15:05 +00:00
Jordan Liu
9e4c365561 Merge "Add editable_voicemail_number key to CarrierConfig" 2016-09-29 17:12:59 +00:00
Meng Wang
587a5f9c7f resolve merge conflicts of 68b84f73 to master
Change-Id: If4d5647d199050846aaf250c4341657440dafb78
2016-09-28 21:06:55 -07:00
Meng Wang
68b84f7301 Support WFC roaming preference am: 2c25e4a96b
am: 6db4fbecf8

Change-Id: Idff74a470e26b6c14ba1203290f533813740e192
2016-09-29 00:29:17 +00:00
Meng Wang
6db4fbecf8 Support WFC roaming preference
am: 2c25e4a96b

Change-Id: I8a1af9756ddf5a4359cfd94aa6eebfdcb87b9e13
2016-09-29 00:22:01 +00:00
Meng Wang
cfe950f6be Merge "Support WFC roaming preference" into nyc-mr1-dev 2016-09-29 00:13:51 +00:00
Jordan Liu
4a54638a68 Add editable_voicemail_number key to CarrierConfig
Add KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL and default value to
CarrierConfigManager, and remove the references to the old config in
core/res/res/values/[config.xml/symbols.xml]

This value exists to fix http://b/14093735. If a SIM card has no
voicemail number available, since the default number is empty, we allow
users to edit the voicemail number when this flag is true.

Bug: 29873049
Change-Id: I68a494e2176306e4e9181a8ccb0aa818f3e08154
2016-09-28 15:26:07 -07:00
Jordan Liu
705cbc763f Add dial_string_replace key to CarrierConfig
Add KEY_DIAL_STRING_REPLACE_STRING_ARRAY and default value (null) to
CarrierConfigManager, and remove the references to the old config in
core/res/res/values/[config.xml/symbols.xml]

This value exists to fix http://b/17202092. We specify a map from
dialstrings to replacements for roaming network service numbers which
cannot be replaced on the carrier side.

Merged-In: I852261596d3931f38d5f1c6b3d24ffe27f950458

Bug: 29873049
Change-Id: I99d97bb25ef57c178d004ae17d97a6c7672734e2
2016-09-27 15:35:27 -07:00
Jordan Liu
761ffab151 Merge "Add key to CarrierConfig" am: 154c22d2d4 am: fda7370ddd
am: cf99a8e2e9

Change-Id: I2eb06df15a6605e8e688de470a0cd926e9989979
2016-09-27 22:34:16 +00:00
Brad Ebinger
b0d2ffa8a4 Adds a Disconnect Cause for Emergency Redial am: bd13f22f83 am: 7c8ad05c56
am: 3b3e0510c7

Change-Id: I1f901ef32130e92d7a25d5c69a7c0639d8567a15
2016-09-27 02:15:00 +00:00
Brad Ebinger
3b3e0510c7 Adds a Disconnect Cause for Emergency Redial am: bd13f22f83
am: 7c8ad05c56

Change-Id: I60ffb85ab5dc258d9e6aebc30e7f83dcf01bddaa
2016-09-26 23:50:38 +00:00
Brad Ebinger
7c8ad05c56 Adds a Disconnect Cause for Emergency Redial
am: bd13f22f83

Change-Id: Icffef087dbfbc902ca3347a325a0acfe05326a25
2016-09-26 23:27:33 +00:00
Ariel Yin
0a2d3dcb03 Merge "Adds a Disconnect Cause for Emergency Redial" into nyc-mr1-dev 2016-09-26 23:19:16 +00:00
Brad Ebinger
a906c502e5 Add RadioAccessFamily rank am: de780c84b5 am: 86739bd8d6
am: d68c80d093

Change-Id: I90c706d4a1caf7b62b4b853b5ec96a16b4ca6ca4
2016-09-24 02:01:23 +00:00
Meng Wang
2c25e4a96b Support WFC roaming preference
Added keys in CarrierConfig and Settings.Global

Bug: 31492826
Change-Id: Ice33f6ee5c42b92ed2f7258ff8b28c50510cde31
2016-09-23 12:09:02 -07:00
Brad Ebinger
d68c80d093 Add RadioAccessFamily rank am: de780c84b5
am: 86739bd8d6

Change-Id: I05c4d9d3269ca893b51529df96760bda5b31db8b
2016-09-23 00:11:10 +00:00