Added FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME

Test: atest CarPropertyManagerTest
Bug: 238367528
Change-Id: If9f4fab38ce47d6e2d463cca3e5eeb909866bf89
This commit is contained in:
Tyler Trephan
2022-07-07 23:43:05 +00:00
parent 4be58ff1de
commit a2bdec821d

View File

@@ -478,6 +478,15 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
},
.initialValue = {.int32Values = {(int)VehicleUnit::LITER}}},
{.config =
{
.prop = toInt(
VehicleProperty::FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME),
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
},
.initialValue = {.int32Values = {1}}},
{.config =
{
.prop = toInt(VehicleProperty::HW_KEY_INPUT),