From 8acfc0ce73f4c20414a20ca5240cbe47a8016111 Mon Sep 17 00:00:00 2001 From: Kai Date: Fri, 26 Apr 2019 15:44:51 -0700 Subject: [PATCH] Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS Bug: 80298447 Test: build Change-Id: Ie4fb6ea78f4a4c1337420db8d9b6d545fd9f377c --- automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h | 1 + 1 file changed, 1 insertion(+) 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 08cdffa715..39fe991339 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}}},