Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb2c5df6 authored by Kai Wang's avatar Kai Wang Committed by android-build-merger
Browse files

Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev am: 130fad82

am: 8ebd752b

Change-Id: Ie1d9fcf2bb7a86a7422a6583dff87f02307af7fb
parents e8b264f6 8ebd752b
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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),