add carrier config "KEY_SS_DISABLE_WHEN_AIRPLANE_MODE_BOOL".
Bug: 141284019
Test: when airplane mode on, all of SS UIs are gray out.
Change-Id: I869a267fa5aaebf3b48f20bc70d21d612cd84586
(cherry picked from commit 08972c5b2b)
Merged-In: I869a267fa5aaebf3b48f20bc70d21d612cd84586
When roaming, we assume that the roaming operator will support
control plane fallback for emergency SUPL. For roaming operators
that we know do not support control plane fallback, we must perform
a DDS switch before dialing an emergency number on that operator.
Bug: 144383368
Test: atest TeleServiceTests; manual
Merged-In: I4a033f89610fd409ea81c40230938720ca76541c
Change-Id: I4a033f89610fd409ea81c40230938720ca76541c
Added one more name source 'PNN', which has priority
higher than carrier id but lower than EF_SPN.
Bug: 143493866
Test: Manual
Change-Id: I2ef14204d0db018e7f67578a57e56fdbea8b698c
Add time to determine as ping pong as a carrier config
Add max back off hysteresis time as a carrier config
Test: build
Bug: 143578171
Change-Id: I599aa88c4a8f29ca62aaa2948cc5c7f292b6a827
Fixed the incorrect warning area coordinate decoding
when data length is greater than 127 bytes.
Bug: 143762197
Test: unit test
Change-Id: I498ccd0933f31898d531dcea307e160ae94653e8
Carrier config to switch data to primary from cbrs
if primary is OOS
Carrier config to specify back off time from cbrs
to primary
Bug: 143578171
Test: make
Merged-In: I2fbec74b7f00dcb751e38b0f5a336fea8370cbee
Change-Id: I2fbec74b7f00dcb751e38b0f5a336fea8370cbee
In cases where the source of the CellInfo fails
but does not generate a Throwable, the detail info
will not be provided and should be null. Inside the
user process, we need to check for null before
dereferencing the detail object. Oops. :-(
Bug: 142706765
Bug: 142421696
Test: manual
Merged-In: I1307d1d7aacef0bbd33bfc73700ee774e12e64c1
Change-Id: I1307d1d7aacef0bbd33bfc73700ee774e12e64c1
(cherry picked from commit fff052067c)
Add CODE_RETRY_ON_IMS_WITHOUT_RTT for the IMS stack to indicate to
Telephony that a call should be retried without RTT enabled.
Bug: 141963475
Test: manual
Change-Id: Ic3aa8856e98d8c34fd98462d71834e69b857eda4
TelephonyScanManager may sometimes encounter a race condition where
Telephony sends it the first scan result before it has saved the
returned scan ID. This causes a crash in the app that's requesting the
scan.
To fix this, synchronize on mScanInfo while requesting the network scan
so that the handler in TelephonyScanManager will wait for the scan ID to
be saved before processing the first message from Telephony.
Bug: 142068098
Test: manual
Change-Id: I0b2b4c6dc749e21641843818293941704ed870a6
Add a carrier config to disable ping test before data
switch to opportunistic network.
Bug: 141003010
Test: make
Merged-In: I56835e5b416685fbcf2ab2729aa6a039c7f11806
Change-Id: I56835e5b416685fbcf2ab2729aa6a039c7f11806
Geo-Fencing Maximum Wait Time a device shall allow to determines it
location meeting operator policy. If the device is unable to determine
its position meeting operator policy within the GeoFencing Maximum Wait Time,
it shall present the alert to the user and discontinue further positioning
determination for the alert.
Bug: 139022202
Test: manual
Merged-In: If3d8d7915f2d86da20c63e99bee01f30e3ea89c0
Change-Id: I5b5c79257706e8606ca6952c5396e4abf2aaf28d
1. Do not throw exception when packageName is not found
2. Fix NPE caused by null SubscriptionInfo
Bug: 140122832
Test: Utest and manual test
Change-Id: I686647419896a1780f0697b3ed5d319363675f5f
This add a decoder for WAC information. WAC is appended to the UMTS
cell broadcast message. The encoding is defined in ATIS-0700041.
Bug: 123096618
Test: build & manual test
Merged-In: I73dc22c27c2cfd47000ae65448fbc857ed9aa42f
Change-Id: I73dc22c27c2cfd47000ae65448fbc857ed9aa42f
(cherry picked from commit 14df7e3845369e7254e6aae13160c7e1caa1d28a)
This add some fields to CellBroadcasts in order to support the WEA 3.0
geo-fencing.
Bug: 123096618
Test: atest TelephonyProviderTests
Merged-In: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
Change-Id: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
(cherry picked from commit 5c6e975ce4a973619f20167644475b04e663ee4e)
This CL adds support for geo targeting, including determining whether a
point is inside a simple polygon and circle.
For the judgment of the point in the polygon, the algorithm implemented
here simply considers the spherical polygon as a 2d plane polygon, which
may be not precisely. However, according to the test of real geographical
coordinates data i.e state/city/stree boundary data, this error is less than
10 meters that within 160 meters requires by the spec.
Bug: 123096618
Test: atest GeoUtils
Merged-In: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
Change-Id: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
(cherry picked from commit 7fbc74b66b58dd57deedb7336c5c1e2f0f9e2064)
Bug: 138388637
Test: tested with local override and made sure they are read and parsed
Change-Id: I50fb11444f0da33ae48683b834e6ca50941ad1b7
Merged-In: I50fb11444f0da33ae48683b834e6ca50941ad1b7
Create Carrier config for default value of APN types field if not specified by
user when adding/modifying an APN.
Bug: 139320184
Test: Enter empty APN type and check if only default is added into
APN.
Change-Id: Ie6984e4eb741b1ac0a245b40e7102cc2c0c25b20
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