summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-03-15 23:01:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-03-15 23:01:10 +0000
commit4e9c76699874964ebacb217a405675d3c7eec593 (patch)
treee011fdbd6ba63ed6d3fc1dd061794204332469f3
parent18530de80f14d39210e036e2fae150671475f45c (diff)
parentc3629ba552bded48af0410d7c1df80469bda5924 (diff)
downloadcar-4e9c76699874964ebacb217a405675d3c7eec593.tar.gz
Snap for 9752887 from c3629ba552bded48af0410d7c1df80469bda5924 to tm-qpr3-release
Change-Id: If9e63cc276bc51778ac67d7a3ba022a2f86a66f8
-rw-r--r--emulator/aosp_car_emulator.mk2
-rw-r--r--emulator/overlay/frameworks/base/core/res/res/values/config.xml22
2 files changed, 24 insertions, 0 deletions
diff --git a/emulator/aosp_car_emulator.mk b/emulator/aosp_car_emulator.mk
index e7af75d..218549e 100644
--- a/emulator/aosp_car_emulator.mk
+++ b/emulator/aosp_car_emulator.mk
@@ -21,6 +21,8 @@ ifeq (,$(ENABLE_REAR_VIEW_CAMERA_SAMPLE))
ENABLE_REAR_VIEW_CAMERA_SAMPLE:=true
endif
+PRODUCT_PACKAGE_OVERLAYS := device/generic/car/emulator/overlay
+
$(call inherit-product, device/generic/car/common/car.mk)
# This overrides device/generic/car/common/car.mk
$(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk)
diff --git a/emulator/overlay/frameworks/base/core/res/res/values/config.xml b/emulator/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..1544de4
--- /dev/null
+++ b/emulator/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2023, 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <bool name="config_automatic_brightness_available">true</bool>
+</resources>