summaryrefslogtreecommitdiffstats
path: root/automotive/vehicle
diff options
context:
space:
mode:
authorKai <kwangsudo@google.com>2019-04-26 15:44:51 -0700
committerKai Wang <kwangsudo@google.com>2019-04-30 00:13:55 +0000
commit8acfc0ce73f4c20414a20ca5240cbe47a8016111 (patch)
tree67acb65b07bfb55a55b62ed842fa1f83b1f48dad /automotive/vehicle
parent8d40b379fa5b1f1fc4593b0bb0d1339827a091d4 (diff)
downloadandroid_hardware_interfaces-8acfc0ce73f4c20414a20ca5240cbe47a8016111.tar.gz
android_hardware_interfaces-8acfc0ce73f4c20414a20ca5240cbe47a8016111.tar.bz2
android_hardware_interfaces-8acfc0ce73f4c20414a20ca5240cbe47a8016111.zip
Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS
Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS Bug: 80298447 Test: build Change-Id: Ie4fb6ea78f4a4c1337420db8d9b6d545fd9f377c
Diffstat (limited to 'automotive/vehicle')
-rw-r--r--automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h
index 08cdffa71..39fe99133 100644
--- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h
+++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h
@@ -530,6 +530,7 @@ const ConfigDeclaration kVehicleProperties[]{
{.config = {.prop = toInt(VehicleProperty::HVAC_TEMPERATURE_DISPLAY_UNITS),
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
+ .configArray = {(int)VehicleUnit::FAHRENHEIT, (int)VehicleUnit::CELSIUS},
.areaConfigs = {VehicleAreaConfig{.areaId = (0)}}},
.initialValue = {.int32Values = {(int)VehicleUnit::FAHRENHEIT}}},