Fixed the vendor data/network service non-responsive
issue. The callback binder passed from frameworks
might be GC'd so that vendor data/network service skipped
calling the callback. This eventually caused data
connection state machine messed up.
Fixed by turning the weak refernce to the callback into
a strong reference. This ensure the binder alive when
vendor service needs to invoke the callback.
Test: Telephony sanity tests
Bug: 139076980
Change-Id: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce
When the Phone registration status changes and back to
service, remove the Phone error notification automatically.
Bug: 136535506
Test: manual
Change-Id: I3ac19c09a37c4f62ddcf64e8660a7e925648f4dd
Added debug messages and watchdog to catch
unresponsive data service issue.
Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
Explain that once a country signal is lost, the broadcast
will be delayed for some time until we are confident that
we have lost visibility to any country (unless we detect
a new country).
Bug: 136036974
Test: make offline-sdk-docs (docstring-only change)
Change-Id: I29536ca2d60968405bb476a97dfbda69487c0013
This change add an optional filed that allows carrier to change the
timeout.
System UI will show the 5G icon and start a timer with the timeout
from this config when the device connect to a 5G cell. System UI stop
displaying 5G icon when both the device disconnect from 5G cell and
the timer is expired.
Bug: 136107473
Test: build
Change-Id: I9720ec127865daa03fb2c23fbdd7d4ebf5e30e1b
This key is introduced for AT&T
This will also require a carrier-config side change
to set show_4g_for_3g_data_icon_bool to true.
This will replace H/H+ that is shown by AT&T today.
Bug: 138655095
Test: manually
Change-Id: I480e14be41f8edbe607472351efd39d6d91b81b0
Add a carrier config to ignore the user's RTT mode setting for purposes
of IMS registration and default outgoing/incoming call behavior.
Bug: 136035164
Test: manual
Change-Id: I481fb945fd76181a0c59cb433c2959b532127153
Add a carrier config key that specifies whether merging an RTT call is
allowed.
Bug: 136035168
Test: manual
Change-Id: I8cfdf68c69b50abed88d7c835db0480a53755f5a
Support GET_SIGNING_CERTIFICATES and handle certificates at SigningInfo
Bug: 138416125
Test: Manual with USIM ARA-M and Test app signed with key rotation
Change-Id: Ie6a32e93b248dab502ea71d54e4bfa84ee1e01e2
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