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
Merged-In: I4a066d9220c723a17dd11e2566161fade6bb471b
Merged-In: Ifed73e493fe7de64b3dd051a53d16d39da1e4eef
Change-Id: I26ac87a49ae94dd0763173af5c8a2c6abe7cb5f8
This commit is contained in:
Jeremy Joslin
2016-11-30 16:44:11 -08:00
parent 82834baa35
commit ba825554bc
2 changed files with 17 additions and 0 deletions

View File

@@ -1277,6 +1277,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

@@ -2728,4 +2728,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>