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

Commit c7250134 authored by Jordan Jozwiak's avatar Jordan Jozwiak
Browse files

Add the INFO_DRIVER_SEAT property.

Bug: b/113356861
Test: Build and install.
Change-Id: I07963fd94aca1a2e83d968f85daa78be7ab90fd9
(cherry picked from commit e4d470dc3adc5ba2b35abcdc61e37927953c36d4)
parent d0cf64e6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -225,6 +225,16 @@ const ConfigDeclaration kVehicleProperties[]{
         },
     .initialValue = {.floatValues = {0.0f}}},

    {.config =
         {
             .prop = toInt(VehicleProperty::INFO_DRIVER_SEAT),
             .access = VehiclePropertyAccess::READ,
             .changeMode = VehiclePropertyChangeMode::STATIC,
             // this was a zoned property on an old vhal, but it is meant to be global
             .areaConfigs = {VehicleAreaConfig{.areaId = (0)}},
         },
     .initialValue = {.int32Values = {SEAT_1_LEFT}}},

    {.config =
         {
             .prop = toInt(VehicleProperty::PERF_ODOMETER),