Merge "Implemented EV_BATTERY_DISPLAY_UNITS" into tm-qpr-dev am: 7079fbd4f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18900589 Change-Id: Ic359a8ea6728a92f61883f3e826711fa6d05ee16 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
0a17df6696
1 changed files with 11 additions and 0 deletions
|
@ -171,6 +171,17 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
|||
},
|
||||
.initialValue = {.int32Values = {toInt(VehicleUnit::KILOMETERS_PER_HOUR)}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::EV_BATTERY_DISPLAY_UNITS),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.configArray = {toInt(VehicleUnit::WATT_HOUR),
|
||||
toInt(VehicleUnit::AMPERE_HOURS),
|
||||
toInt(VehicleUnit::KILOWATT_HOUR)},
|
||||
},
|
||||
.initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::SEAT_OCCUPANCY),
|
||||
|
|
Loading…
Reference in a new issue