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

Commit 551b891e authored by Kai Wang's avatar Kai Wang Committed by Automerger Merge Worker
Browse files

Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev am: f10a9af7

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12600691

Change-Id: I8380ebf6cd987728cc52e8803b4c123b89a204cd
parents 77cf6320 f10a9af7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -688,6 +688,12 @@ const ConfigDeclaration kVehicleProperties[]{
                         .prop = toInt(VehicleProperty::GEAR_SELECTION),
                         .access = VehiclePropertyAccess::READ,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                         .configArray = {(int)VehicleGear::GEAR_PARK,
                                         (int)VehicleGear::GEAR_NEUTRAL,
                                         (int)VehicleGear::GEAR_REVERSE,
                                         (int)VehicleGear::GEAR_DRIVE, (int)VehicleGear::GEAR_1,
                                         (int)VehicleGear::GEAR_2, (int)VehicleGear::GEAR_3,
                                         (int)VehicleGear::GEAR_4, (int)VehicleGear::GEAR_5},
                 },
         .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}},