Merge "Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS" into qt-dev

This commit is contained in:
Kai Wang 2019-05-16 00:51:17 +00:00 committed by Android (Google) Code Review
commit 728455da65

View file

@ -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}}},