Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev

am: 130fad824b

Change-Id: I84f93ff1a865c48543453a72323fe8742287637a
This commit is contained in:
Kai Wang
2019-06-21 23:10:36 -07:00
committed by android-build-merger

View File

@@ -240,6 +240,17 @@ const ConfigDeclaration kVehicleProperties[]{
},
.initialValue = {.floatValues = {0.0f}}},
{.config =
{
.prop = toInt(VehicleProperty::VEHICLE_SPEED_DISPLAY_UNITS),
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
.configArray = {(int)VehicleUnit::METER_PER_SEC,
(int)VehicleUnit::MILES_PER_HOUR,
(int)VehicleUnit::KILOMETERS_PER_HOUR},
},
.initialValue = {.int32Values = {(int)VehicleUnit::KILOMETERS_PER_HOUR}}},
{.config =
{
.prop = toInt(VehicleProperty::INFO_DRIVER_SEAT),