summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Grace Cheng <gracemc@google.com> 2021-06-02 15:24:59 -0700
committer Grace Cheng <gracemc@google.com> 2021-06-04 18:24:44 +0000
commit63e4f7ba6269d84eb9edee1df862242ea9bba2cc (patch)
treef658aca020459743f8e0cd7c9a959f27238acff3
parente0fa7da5aaec2d3e11a07ceb8710d4e9f4e9a47c (diff)
config for allowlisting adas apps.
Test: none Bug: b/189885010 Change-Id: I411cc51cc08633e373af2b702108c4f28c303185
-rw-r--r--core/res/res/values/config.xml7
-rw-r--r--core/res/res/values/symbols.xml1
2 files changed, 8 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index bc63df659903..bf59f4d7e756 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -1759,6 +1759,13 @@
<item>com.android.location.fused</item>
</string-array>
+ <!-- Package name(s) of Advanced Driver Assistance applications. These packages have additional
+ management of access to location, specific to driving assistance use-cases. They must be system
+ packages. This configuration is only applicable to devices that declare
+ PackageManager.FEATURE_AUTOMOTIVE. -->
+ <string-array name="config_locationDriverAssistancePackageNames" translatable="false">
+ </string-array>
+
<!-- This string array can be overriden to enable test location providers initially. -->
<!-- Array of "[locationProviderName],[requiresNetwork],
[requiresSatellite],[requiresCell],[hasMonetaryCost],
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index 49ed21399d3d..7006d930995f 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -1899,6 +1899,7 @@
<java-symbol type="array" name="radioAttributes" />
<java-symbol type="array" name="config_oemUsbModeOverride" />
<java-symbol type="array" name="config_locationProviderPackageNames" />
+ <java-symbol type="array" name="config_locationDriverAssistancePackageNames" />
<java-symbol type="array" name="config_locationExtraPackageNames" />
<java-symbol type="array" name="config_testLocationProviders" />
<java-symbol type="array" name="config_defaultNotificationVibePattern" />