Commit Graph

3602 Commits

Author SHA1 Message Date
Wei Huang
f84a966106 Adds carrier config to determine if high definition audio is displayed
Adds a carrier config option to remove HD audio property from a
connection so that HD audio related UI is not displayed
even if connection has High Definition audio support.

Bug: 28654645
Bug: 33062999
Change-Id: I71f35854d35ae73741a36c0e2106695b04471b2e
2016-12-14 18:32:44 -08:00
Meng Wang
8f1a57f943 Merge "DO NOT MERGE API for reporting IMS registration failures" into nyc-mr2-dev 2016-12-10 00:08:24 +00:00
Dheeraj Shetty
a62a1302ee DO NOT MERGE API for reporting IMS registration failures
Draft API to report registration failures in the following
scenarios:
1. Idle mode failures - new IMS registration.
2. Ims registration handover failures - Handover of IMS registration
   from one access technology to another.

Bug: 33430556
Change-Id: Ie3bafec41c0198a66aa3ebca660a2a060e511c39
2016-12-07 16:09:47 -08:00
Jordan Liu
7ba6d21aac Merge "Treat the mdn as an additional voicemail number" into nyc-mr2-dev 2016-12-06 22:23:26 +00:00
pkanwar
34be302f2a DO NOT MERGE: Add notification delay for when the user needs cannot register to a
network and needs to be notified.

BUG: 28572539
Change-Id: Iabf5e4476a1c5b02d1de38695f7125ee888dadd9
2016-12-06 10:52:59 -08:00
Jordan Liu
360d5674bd Treat the mdn as an additional voicemail number
Use carrier config to specify whether the carrier treats the mdn as an
additonal voicemail number.

Change-Id: I7192a3505da87d6b50a100e041d2b502cf37e113
Merged-In: I7192a3505da87d6b50a100e041d2b502cf37e113
Fix: 29145323
Test: build and flash on device
2016-12-05 11:10:59 -08:00
pkanwar
1ec8fe940f Allow Carriers to specify Wifi Networks.
Bug: 31003437
Change-Id: I661f8fc9924e677b9ac08c70500bd175d30834fa
2016-11-28 09:18:02 -08:00
Jack Yu
80a0e6d56e Added configuration for VT downgrade/tear down when data disabled
Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

bug: 32880745
Merged-In: Idd33a022b5a31cbc58592587bcb496bd78923ae7
Change-Id: I5c71fc9336b39f114a924861a766ca5cb93d4c69
2016-11-17 09:59:33 -08:00
Jack Yu
f8247928a2 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-03 14:53:41 -07:00
Sooraj Sasindran
c80aaa94c6 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:57:06 -07: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
Meng Wang
cfe950f6be Merge "Support WFC roaming preference" into nyc-mr1-dev 2016-09-29 00:13:51 +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
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
6f0cbd9297 Merge "Add RadioAccessFamily rank" into nyc-mr1-dev 2016-09-22 23:10:06 +00:00
Brad Ebinger
bd13f22f83 Adds a Disconnect Cause for Emergency Redial
The radio has the ability to send back a "redial on the other slot"
DisconnectCause. This adds that DisconnectCause definition.

Bug: 31498841
Change-Id: I9a59cc81ba03562531b0445e3acb5eeec99b1aba
2016-09-21 16:38:48 -07:00
Brad Ebinger
de780c84b5 Add RadioAccessFamily rank
Modifies RadioAccessFamily to rank call technology and changes affected
comments.

Change-Id: I7ae8516e7dd167fc02d2ff931f6adc6f14e40296
Fixes: 31091840
Fixes: 31621719
2016-09-21 23:34:31 +00:00
Amit Mahajan
71e9ea6770 Added new config to indicate uneditable APN fields.
Bug: 30457714
Change-Id: I2e089f16a7f4e77b8f0bdd10e0c63bbc4a3a11a1
2016-09-20 10:58:57 -07:00
TreeHugger Robot
3dfd09e860 Merge "Added new config to indicate read-only apn types." into nyc-mr1-dev 2016-09-19 16:30:21 +00:00
Amit Mahajan
923963ff31 Added new config to indicate read-only apn types.
Bug: 31074581
Change-Id: Ib0b19ef038d8c99380364eb81c4f7dd24bcc27fa
2016-09-16 12:35:36 -07:00
TreeHugger Robot
c4cea1e0d6 Merge "Extend apn retry configurability to more apn types" into nyc-mr1-dev 2016-09-13 20:14:50 +00:00
Jack Yu
c1f0e87051 Extend apn retry configurability to more apn types
Extend apn retry configurability to more apn types so
we can control each APN retry behavior. Made mms apn retry
pattern same as default apn.

bug: 31381899
Change-Id: I070d0da97fb1844a1b4e9a6f1eff8d37995cec50
2016-09-13 16:49:59 +00:00
Wei Huang
20c747c038 Add configurable emergency call number support
In some region, when user dials emergency numbers, the call will go to
IVR system first and then to emergency center. This behavior causes
delay to let consumer to get help from center. Due to region/operator
requirements, some emergency numbers are required to be set-up as non
emeregency numbers on device. On such device, coverting original number
to emergency number is required under the conditions where only
emergency call is allowed - e.g. no SIM. This patch implements this auto
converting logic and its configurations.
E.g. For Taiwan, 110 and 119 need to be converted to 112 under not
in-service state.

Bug: 28123861
Change-Id: I01b3072ae272c1af8d4a19b2fb6ae451b7268821
2016-09-06 17:33:49 -07:00
Tyler Gunn
d81c426e1d Add device config to determine when "allow hold" carrier config is used.
The "allow hold" carrier config option was added to meet new carrier
requirements.  However we do not wish to enforce this option on older
devices.

Bug: 30449352
Change-Id: I4bf6dab0a200bdd2511c67b8134c6c0dc4b7e5a8
2016-08-26 20:19:31 +00:00
fionaxu
d0a7649f53 redact PII only for non-null value and apply SHA-1
Bug: 30073833
Change-Id: Iec311ba27dfd07c52df4a05cf89a566994f66ba9
2016-08-22 11:36:16 -07:00
Tyler Gunn
36863797cd Merge "Add Telephony Connection event for handover from WIFI to LTE." into nyc-mr1-dev 2016-08-17 21:19:42 +00:00
Brad Ebinger
fb599587a1 Merge "Adds a CNAP filtering field to the CarrierConfig" into nyc-mr1-dev 2016-08-16 23:39:47 +00:00
Tyler Gunn
481255dc1c Add Telephony Connection event for handover from WIFI to LTE.
This connection event is used to inform an InCallService of the fact that
a handover from WIFI to LTE has occurred.

Bug: 30837560
Change-Id: Iaf7e301ca20ffbe5b3cb1b3596f898fcda8a7785
2016-08-16 16:04:48 -07:00
Brad Ebinger
5ea6b1ece9 Adds a CNAP filtering field to the CarrierConfig
Adds the ability for the CarrierConfig to provide a list of CNAP names
that will be filtered out to the user. These names are usually generic
names that do not provide any useful caller ID information, such as
"WIRELESS CALLER".

Bug: 30142293
Change-Id: I8a99975380f99d160c2af6f6fa4b5ca3ebca1d3c
2016-08-16 13:39:55 -07:00
Tyler Gunn
86d5c3fcde Support auto-downgrade to audio when data disabled.
Add carrier config option to determine if carrier supports downgrade to
audio.
Add new telephony Connection events to signal Dialer that there was a
downgrade to audio, and why.

Bug: 30702393
Change-Id: Idd5272aafd71601e92291644640f52afe200208e
2016-08-12 14:14:13 -07:00
Tyler Gunn
34910458c4 Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev 2016-08-12 14:54:27 +00:00
Tyler Gunn
ed21e8fc0c Add ImsReason codes and DisconnectCauses for data disconnects.
Adding reason code and disconnect causes for:
1. disconnects due to user disabling data.
2. disconnects due to data limit being reached.

Bug: 30702393
Change-Id: Id6ea5ee4f5aac1a8602094315f893e2f7b3cc8d6
2016-08-11 13:13:51 -07:00
Ta-wei Yen
fb6e1bf239 Merge "Add API to enable/disable the visual voicemail client" into nyc-mr1-dev 2016-08-11 17:15:14 +00:00
Ta-wei Yen
20f2ebbf4d Add API to enable/disable the visual voicemail client
This CL gives the default dialer, apps with carrier privilege, and
apps with MODIFY_PHONE_STATE the ability to enable/disable the visual
voicemail client.

This is a system API for NMR1. It will be revised in O.

Bug: 30709089
Change-Id: Ic24af14a5e3433c13ba8d253ad8504c94bf71c8f
2016-08-10 11:28:32 -07:00
Tyler Gunn
0f20d9343c Add carrier config to indicate whether to notify of vt handover failure.
Controls whether to notify Connections of the fact that a handover of a VT
call from LTE to WIFI failed.

Bug: 30697460
Change-Id: I0cbff2dfb67c7c1f995f1ddf38e9525796501c09
2016-08-09 16:06:09 -07:00
Tyler Gunn
aa1e49c168 Merge "Add Connection Event for wifi handover failures." into nyc-mr1-dev 2016-08-08 00:33:45 +00:00
Tyler Gunn
920f79411c Add Connection Event for wifi handover failures.
Adding a new connection event which Telephony can use to inform upper
layers of a failure to handover to WIFI.

Bug: 30697460
Change-Id: I75da2f956a6b70a9bf4cf7128f29968e08172dc3
2016-08-05 11:22:34 -07:00
Meng Wang
542e262605 Add carrierconfig enhanced_4g_lte_title_variant_bool
Bug: 30629746
Change-Id: I412d2d228797777e9d3db5fa4a9a630eb457e24c
2016-08-03 10:19:14 -07:00
Robert Greenwalt
ea0d71390a Stop exposing LTE_CA as a rat type.
Instead add a new hidden function to ServiceState for use
by SystemUI until we get a real API in O.

bug:30480638
Change-Id: Ifd9b1fbdb74d3a408c419467b7390675fc13ea3d
2016-07-28 20:44:05 -07:00
Jeff Davidson
94ae1e739f Merge "Add support for carrier "associated" apps." into nyc-mr1-dev 2016-07-27 17:57:39 +00:00
Jeff Davidson
24b9d96007 Add support for carrier "associated" apps.
The platform currently supports the notion of default carrier apps.
These apps are set to DISABLED_UNTIL_USED until a SIM is inserted
which grants them carrier privileges, at which point they are enabled.
Apps are not touched if they have been updated from the version on
/system or if their state has been modified externally (e.g. by the
user).

This CL extends this notion to associated apps, which may not have
carrier privileges themselves, but should be enabled/disabled
alongside a particular carrier app. This should include helper apps
that should not be visible to users who don't use the given carrier
unless the user explicitly enables the app.

As additional protection, we add a check to ensure that we never
disable apps after the first time we've run. Since we need to store
this information in secure settings, we also move the call site from
PackageManagerService#main() to PackageManagerService#systemReady(),
which enables use of secure settings but still occurs before
third-party apps can be started.

Bug: 30141427
Change-Id: Iee72ba4e70e5ca97999c9147a65af82c670a23e8
2016-07-26 14:54:53 -07:00
fionaxu
a7ab821aa1 add pii support for Rlog
bug: 30368127
Change-Id: I18b7be483ce3f86f47dfcafa9d84fcb9b8724c08
2016-07-25 15:20:51 -07:00
Brad Ebinger
dee7dffb5d Merge "Add CarrierConfig to remove hold during Ims Calls" into nyc-mr1-dev 2016-07-21 18:40:43 +00:00
Ye Wen
406a41bed8 Add carrier config for close connection after MMS request
b/29558615

Change-Id: I24d922f33626b4a65c267dc2d132b5510e357c0f
2016-07-20 11:02:05 -07:00
TreeHugger Robot
338566df68 Merge "Made severe and extreme alert configuration dependency configurable" into nyc-mr1-dev 2016-07-20 00:57:52 +00:00
Youhan Wang
d71c64f715 Merge "Add getCdmaPrlVersion()." into nyc-mr1-dev 2016-07-19 22:59:13 +00:00
Jack Yu
e79419847c Made severe and extreme alert configuration dependency configurable
Before when extreme alert is disabled, severe alert will be disabled
by default because we assume users won't be interested in severe
alert if he is even not interested in extreme (higher level) alert.

Now carriers are allowed to turn this feature off by carrier config.

bug: 29369591
Change-Id: I3eb8a0c3e2df420ea75a77ec01cc447013434219
2016-07-19 15:20:06 -07:00
Brad Ebinger
c8601013d5 Add CarrierConfig to remove hold during Ims Calls
Adds a Carrier Config key to specify whether an IMS call supports
holding. If not, the CAPABILITY_HOLD and CAPABILITY_SUPPORT_HOLD are
not added to the Connection.

Bug: 30195356
Change-Id: I9b16b385a2b90118453d484be5af4f173b199ab1
2016-07-19 14:09:23 -07:00
Hall Liu
7c3c28b6d9 Add carrier config keys for disabling HD icon
Add keys for whether a wifi call can be HD and whether a video call can
be HD.

Bug: 30013801
Change-Id: I36ab3647a96e5dbd217cff29030d3ac7a2e86f56
2016-07-19 11:18:49 -07:00
Youhan Wang
4eb5678ed8 Add getCdmaPrlVersion().
Bug:27612001
Change-Id: Icce9e99d360e30268d41bc063eeefc7484627df6
2016-07-19 10:21:15 -07:00