Adding a new string array resource for network recommendations.

The new resource allows for multiple package names to be specified
in priority order.

Test: Nothing to test.
BUG: 33158362
Change-Id: Ifed73e493fe7de64b3dd051a53d16d39da1e4eef
This commit is contained in:
Jeremy Joslin
2016-11-30 16:44:11 -08:00
parent 99db203f29
commit b63bf2a5ef
2 changed files with 17 additions and 0 deletions

View File

@@ -1287,6 +1287,19 @@
config_enableFusedLocationOverlay is false. -->
<string name="config_fusedLocationProviderPackageName" translatable="false">com.android.location.fused</string>
<!-- A list of potential packages, in priority order, that may contain a
network recommendation provider. A network recommendation provider must:
* Be granted the SCORE_NETWORKS permission.
* Include a Receiver for the android.net.scoring.SCORE_NETWORKS action guarded by the
BROADCAST_NETWORK_PRIVILEGED permission.
* Include a Service for the android.net.scoring.RECOMMEND_NETWORKS action.
This may be empty if network scoring and recommending isn't supported.
-->
<string-array name="config_networkRecommendationPackageNames" translatable="false">
<!-- Add packages here -->
</string-array>
<!-- Whether to enable Hardware FLP overlay which allows Hardware FLP to be
replaced by an app at run-time. When disabled, only the
config_hardwareFlpPackageName package will be searched for Hardware Flp,

View File

@@ -2733,4 +2733,8 @@
<!-- Screen-size-dependent modes for picker dialogs. -->
<java-symbol type="integer" name="time_picker_mode" />
<java-symbol type="integer" name="date_picker_mode" />
<!-- Network Recommendation -->
<java-symbol type="array" name="config_networkRecommendationPackageNames" />
</resources>