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

Commit a9788cb6 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9217312 from 0a4e57f8 to tm-qpr2-release

Change-Id: I3098c07b02db91184f7dcd5fff0e1d1b15aea5b9
parents a3170ad9 0a4e57f8
Loading
Loading
Loading
Loading
+34 −0
Original line number Original line Diff line number Diff line
@@ -190,6 +190,40 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
                 },
         .initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}},
         .initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}},


        {.config = {.prop = toInt(VehicleProperty::SEAT_MEMORY_SELECT),
                    .access = VehiclePropertyAccess::WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3},
                                    VehicleAreaConfig{.areaId = SEAT_1_RIGHT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3},
                                    VehicleAreaConfig{.areaId = SEAT_2_LEFT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3},
                                    VehicleAreaConfig{.areaId = SEAT_2_RIGHT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3}}},
         .initialValue = {.int32Values = {1}}},

        {.config = {.prop = toInt(VehicleProperty::SEAT_MEMORY_SET),
                    .access = VehiclePropertyAccess::WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3},
                                    VehicleAreaConfig{.areaId = SEAT_1_RIGHT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3},
                                    VehicleAreaConfig{.areaId = SEAT_2_LEFT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3},
                                    VehicleAreaConfig{.areaId = SEAT_2_RIGHT,
                                                      .minInt32Value = 0,
                                                      .maxInt32Value = 3}}},
         .initialValue = {.int32Values = {1}}},

        {.config = {.prop = toInt(VehicleProperty::SEAT_BELT_BUCKLED),
        {.config = {.prop = toInt(VehicleProperty::SEAT_BELT_BUCKLED),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,