mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "DO NOT MERGE Add DISTANCE_DISPLAY_UNIT to google VHAL" into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2b7fefdc97
@@ -545,6 +545,13 @@ const ConfigDeclaration kVehicleProperties[]{
|
||||
.areaConfigs = {VehicleAreaConfig{.areaId = (0)}}},
|
||||
.initialValue = {.int32Values = {(int)VehicleUnit::FAHRENHEIT}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::DISTANCE_DISPLAY_UNITS),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.configArray = {(int)VehicleUnit::KILOMETER, (int)VehicleUnit::MILE},
|
||||
.areaConfigs = {VehicleAreaConfig{.areaId = (0)}}},
|
||||
.initialValue = {.int32Values = {(int)VehicleUnit::MILE}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::NIGHT_MODE),
|
||||
|
||||
Reference in New Issue
Block a user