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

Commit f234fe48 authored by Nishtha Ahuja's avatar Nishtha Ahuja Committed by Tyler Trephan
Browse files

Add value for FUEL_VOLUME_DISPLAY_UNITS in default config.

Bug: 232859264
Fix: 221916124
Test: Tested manually in KitchenSink app

Change-Id: I8c0bf768210037f655d76848d8b4aadf047838f3
(cherry picked from commit fccd300b)
parent f759bf1c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -458,6 +458,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),