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

Commit 551bc888 authored by seanhong's avatar seanhong Committed by Sean Hong
Browse files

Add ENGINE_COOLANT_TEMP property for the emulator

Test: atest CarPropertyManagerTest
Bug: 231209215
Change-Id: Ic80ced50e9a59041d60da1968564a59ce5a2115f
parent d7556529
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -713,6 +713,16 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
         .initialValue = {.int32Values = {toInt(VehicleIgnitionState::ON)}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::ENGINE_COOLANT_TEMP),
                         .access = VehiclePropertyAccess::READ,
                         .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
                         .minSampleRate = 1.0f,
                         .maxSampleRate = 10.0f,
                 },
         .initialValue = {.floatValues = {75.0f}}},

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