summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2021-11-17 01:08:48 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-11-17 01:08:48 +0000
commit75ef78e3b8614963c4898f2d09e93b1316650e6b (patch)
tree33604b6a65fdf80bd9b635e110e05289cd48c21c /common
parent7c466738fec93c1a9ea04159445c72f3837fd92d (diff)
parentb0b35f4d4f1ab1c4de89035314a632b397b2657b (diff)
downloadcar-75ef78e3b8614963c4898f2d09e93b1316650e6b.tar.gz
Merge "Add CarService resource overlay" into sc-v2-dev am: b79176008e am: b0b35f4d4f
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/16217390 Change-Id: I5ef5dadbc3c5f1f0a3e66d12bbf8711b69b2987a
Diffstat (limited to 'common')
-rw-r--r--common/overlay/packages/services/Car/service/res/values/config.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/common/overlay/packages/services/Car/service/res/values/config.xml b/common/overlay/packages/services/Car/service/res/values/config.xml
new file mode 100644
index 0000000..dad255b
--- /dev/null
+++ b/common/overlay/packages/services/Car/service/res/values/config.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2021, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- Resources to configure car service based on each OEM's preference. -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- The camera Activity name for EVS, if defined, the Activity will be launched by
+ CarEvsService. -->
+ <string name="config_evsCameraActivity" translatable="false">
+ com.google.android.car.evs/com.google.android.car.evs.CarEvsCameraPreviewActivity
+ </string>
+
+ <!--
+ Specifies optional features that can be enabled by this image. Note that vhal can disable
+ them depending on product variation.
+ Feature name can be either service name defined in Car.*_SERVICE for Car*Manager or any
+ optional feature defined under @OptionalFeature annotation.
+ Note that '/' is used to have subfeature under main feature like "MAIN_FEATURE/SUB_FEATURE".
+
+ Some examples are:
+ <item>storage_monitoring</item>
+ <item>com.android.car.user.CarUserNoticeService</item>
+ <item>com.example.Feature/SubFeature</item>
+
+ The default list defined below will enable all optional features defined.
+ -->
+ <!--
+ TODO(b/205908527): this overlay is to temporarily disable CarEvsService by default.
+ -->
+ <string-array translatable="false" name="config_allowed_optional_car_features">
+ <item>car_navigation_service</item>
+ <item>cluster_service</item>
+ <item>com.android.car.user.CarUserNoticeService</item>
+ <item>diagnostic</item>
+ <item>storage_monitoring</item>
+ <item>vehicle_map_service</item>
+ <item>car_telemetry_service</item>
+ </string-array>
+</resources>