Used the locale language instead of the hardcoded language since
ISO 639 is not a stable standard. Some language codes changed before.
This is part of the cell broadcast language filtering feature
added per U.S. FCC requirement.
Test: Manual
Bug: 110754638, 71497689, 110896497
Change-Id: I3cf42eb037cdbb40597c1053fedb36b478277fc9
Adds carrier config KEY_WFC_SPN_USE_ROOT_LOCALE. If true, the root
locale will be used when reading wfcSpnFormats. This means a
non-translated version of wfcSpnFormats will be used.
strings.xml in values-mcc262-mnc02 was deleted. The same requirement can
now be achieved by setting KEY_WFC_SPN_USE_ROOT_LOCALE to true.
Bug: 114292743
Test: Manual
Change-Id: Ia62976282c5526190d5d04361b1d4fbfc3333068
Based on some analysis, these fields/methods are likely false positives.
Set maxTargetSdk=P so that any apps using them are required to migrate off
them in future. See the bug for more details.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug: 115609023
Test: m
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
Enable the enhanced call blocking options by default. This provides
the ability to block:
- private callers - those who have intentionally blocked their number.
- calls from payphones (they still exist)
- unknown callers (not the same as restricted; network may not be able to
determine the number of the caller)
- numbers not in contacts
These options are available in the blocked number screen (on AOSP
from the dialer app go to settings --> Blocked Numbers).
Test: Manual - confirm enhanced call blocking options are available.
Bug: 63966743
Change-Id: I5aab0714774a5406568d6cd04a4d7074a3261c44
Added new cell broadcast channels for public safety messages
and state/local test alert required by FCC of the United States.
Test: Build
Bug: 110754638, 71497689, 110896497
Change-Id: I05c57b66d85ea7f2b67d7fc421230442f5c7694f
Add a new set of APIs so that caller can listen to
opportunistic subscriptions changes.
Bug: 92796390
Test: build
Change-Id: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
Merged-In: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
Remove catch of NPE from getCellLocation and do explicit
null checks. This will make it easier to differentiate
between actual problems and local NPEs. In pre-P, there
were multiple conditions that would intentionally return
null over the binder interface. In Post-P null is returned
when location is disabled, which means that null is a very
common return value. We shouldn't use NPE to handle the
case where location is disabled.
Bug: 114294321
Test: manual w/ SL4A (no automated tests for TM)
Change-Id: Ie5b3afa56f280ff901ff9fa7c93f958d754f109b
Expand wfcSpnFormats with more options, in order to support
requirements from more operators.
Five new options are added in this patch. The list of available options
becomes:
0: %s
1: %s Wi-Fi Calling
2: WLAN Call (New)
3: %s WLAN Call (New)
4: %s Wi-Fi (New)
5: WiFi Calling | %s (New)
6: %s VoWifi (New)
strings.xml in values-mcc302-mnc370 and values-mcc302-mnc720 was deleted.
The same requirement can now be achieved by configuring KEY_WFC_SPN_FORMAT_IDX_INT
or KEY_WFC_DATA_SPN_FORMAT_IDX_INT to 4.
Bug: 114303633
Test: Manual
Change-Id: I5daf6b49c838df823aed4b84f5f80c68f46b2970
Add a new set of APIs so that caller can listen to
opportunistic subscriptions changes.
Bug: 92796390
Test: build
Change-Id: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
Introduce AlternativeNetworkAccess APIs
Bug: 113106744
Test: Verified using test app to make api calls
Change-Id: I7f470cd6028a12cc66a660d58720f803271d38eb