Add a carrier config key that specifies whether merging an RTT call is
allowed.
Bug: 136035168
Test: manual
Change-Id: I8cfdf68c69b50abed88d7c835db0480a53755f5a
In multi-sim, returns a shared emergency network country iso
from other subscription if the subscription used to create the
TelephonyManager doesn't camp on a network due to some reason
(e.g. pin/puk locked), or sim is absent in the corresponding slot.
Test: unit test
Bug: 137236159
Bug: 137235431
Change-Id: I311e690d1f79ebefbc068c486d9bed814c129aab
Add carrier config for exit hysteresis time which will
be used to decide hysteresis time while switching away from
opportunisitc network to a primary network
Bug: 135556490
Test: Make
Merged-In: Ic4916c11ae470f2440481670bc1e25f570e6ece4
Change-Id: Ic4916c11ae470f2440481670bc1e25f570e6ece4
This config, when enabled, shows the user a notification when the device
switches to data roaming and the user has data roaming on.
Bug: 133358875
Test: manual
Change-Id: Ia091575ff0fa7e02f0c6a98bae0e66ef73beff81
Add new disconnect cause used when an attempt is made to place an
emergency call over WFC but the service is unavailable.
Add new disconnect cause when WFC is not available in an area.
Bug: 128993720
Test: Unit tests added to confirm remapping.
Change-Id: I15dcff8fabc06b5d469d083b0970fe0e77e7d318
Add a carrier config option that will hide the HCO and VCO options for
TTY if RTT is available on the device.
Fixes: 137672992
Test: manual
Change-Id: I7a2ca247a3bf06e6a2b244656add78bb0449674b
If the number starts with a carrier prefix, the
carrier prefix is configured in
{@link CarrierConfigManager#KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY}.
This is important because it provides a solid reference for Apps to
strip the prefix, which they may not prefer to display.
Bug: 137225076
Test: Treehugger
Change-Id: I1f6bd74f1d6eb86fe3326246e0ddb08b9cf7ac11
Bug: 135105735
Test: test app. Apply grouping and call the new API, to make sure
it returns correct values.
Change-Id: I99586976d3421d4b35be465201ee33cbb2dfd1d9
-Update getDataState() API to use the SubId specified
by the TelephonyManager instance.
-Update the getDataActivity() API to use the SubId
specified by the TelephonyManager instance.
(This CL is an un-revert of aosp/984377)
Bug: 135205433
Test: manual (automated test is infeasible)
Change-Id: I035f2c44a7955e88608b1c336acb72fb68c3e450
Merged-In: I035f2c44a7955e88608b1c336acb72fb68c3e450
When calling CheckCarrierPrivilegeForAnySubId the
hidden subscriptions were not being taken into account
due to getAllActiveSubscriptionIds being a public method
that intentionally ignores hidden subscriptions.
NOTE: This is identical to ag/8193293, except that the
SubscriptionManager modifications don't make
getActiveSubscriptionIdList() static (it was causing test failures). A
further bug can be pursued to make everything static all at once.
Bug: 135684437
Test: manual
Change-Id: Iad6a3c2635e5eac2d33a16aa460b98394fd817f4
warn users that sim voice & data function might be limited
during DSDS due to sharing the same radio. this is controlled
by carrier config, carrier which provide emergency service can
choose to notify users that their service might be impacted
under certain dual sim scenarios.
Bug: 134790138
Test: Manual
Change-Id: I8ae33fc9d775b9654587f0e863a51115ca6065db
The change added the configuration support for disallowed APN
types for WWAN or WLAN transport. This is to meet carrier policy
that certain traffic for APN types are not allowed on given
transport.
Bug: 135551751
Test: Manual + unit tests
Change-Id: I63c44d1e774b7491929406929e1a5a556db9515a
Reverted to the old logic that we select APN based on
RAT, but adding a special handling for 2G cases. This can
deal with the case that some APN settings has EHRPD which
we incorrectly thought that APN setting can be used on CDMA
network.
Bug: 134086103
Test: Unit tests
Change-Id: I557f00d32f53498782394ea7824e316e263ca7e7
Update the documentation for getImei to reflect that default SMS apps
are allowed to call this API.
Fixes: 135627578
Test: compiles
Change-Id: Ifef46c9cdb16e8485f3b5bf6d582aca320052b5c
The two APIs at this point are not well defined and implemented due to
design changes after they were introduced. Marking them as DO NOT USE
until further re-define or clean up.
Test: build
Bug: 135222940
Change-Id: I3f06040fdda25c7aa27be45cd90177136f7e996f
The existing logic for merging service state when device is on
IWLAN does not work properly on AP-assisted mode devices. Fixed
by copying the IWLAN preferred flag into IMS service state so
it can get the correct data RAT for AP-assisted mode devices.
Bug: 134706530
Test: WFC manual tests
Change-Id: Ic18934adb870a0114c913855cdb68e0ef33caa79
attached.
Before setting up data connection, we check if it's on non-dds and
voice is registered on non-LTE network, if true we'll setup the data
connection even if it's not attached.
Bug: 134086103
Test: manual
Change-Id: I43e150c1d0cc4065da07f4a5ec738b967e7a9a6d