summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrace Cheng <gracemc@google.com>2021-06-07 18:22:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-06-07 18:22:14 +0000
commitcfba7b01b60be227aa7bf606f31c871ea9a52e0c (patch)
treee42c8367a0221a06ab0d04b080bca4ad7b1bb5fd
parent2b10a16208e8225cd23e4f694d3f5b951168273a (diff)
parent63e4f7ba6269d84eb9edee1df862242ea9bba2cc (diff)
Merge "config for allowlisting adas apps." into sc-dev
-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" />