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

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

Snap for 8793324 from f3e494e7 to tm-qpr1-release

Change-Id: I0f5e11439ef99955453756fc8b50db3314ea6a03
parents c4d809a9 f3e494e7
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -171,6 +171,17 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
         .initialValue = {.int32Values = {toInt(VehicleUnit::KILOMETERS_PER_HOUR)}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::EV_BATTERY_DISPLAY_UNITS),
                         .access = VehiclePropertyAccess::READ_WRITE,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                         .configArray = {toInt(VehicleUnit::WATT_HOUR),
                                         toInt(VehicleUnit::AMPERE_HOURS),
                                         toInt(VehicleUnit::KILOWATT_HOUR)},
                 },
         .initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::SEAT_OCCUPANCY),
@@ -458,6 +469,15 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
         .initialValue = {.int32Values = {0}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::FUEL_VOLUME_DISPLAY_UNITS),
                         .access = VehiclePropertyAccess::READ_WRITE,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                         .configArray = {(int)VehicleUnit::LITER, (int)VehicleUnit::US_GALLON},
                 },
         .initialValue = {.int32Values = {(int)VehicleUnit::LITER}}},

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