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

Commit 44c3a78f authored by Arati Gerdes's avatar Arati Gerdes Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.h" into tm-qpr-dev

parents 03ef9705 76070519
Loading
Loading
Loading
Loading
+20 −0
Original line number Original line Diff line number Diff line
@@ -1444,6 +1444,26 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                                                      .maxInt32Value = 10}}},
                                                      .maxInt32Value = 10}}},
         .initialValue = {.int32Values = {0}}},
         .initialValue = {.int32Values = {0}}},


        {.config = {.prop = toInt(VehicleProperty::WINDOW_MOVE),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = WINDOW_1_LEFT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_1_RIGHT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_2_LEFT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_2_RIGHT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_ROOF_TOP_1,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1}}},
         .initialValue = {.int32Values = {0}}},

        {.config =
        {.config =
                 {
                 {
                         .prop = WHEEL_TICK,
                         .prop = WHEEL_TICK,