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

Commit 6fefa59d authored by seanhong's avatar seanhong
Browse files

Remove FOG_LIGHTS_SWITCH from the emulator for the CTS test

FOG_LIGHTS_SWITCH should not be implemented when FRONT_FOG_LIGHTS_SWITCH or REAR_FOG_LIGHTS_SWITCH is implemented.

Test: atest CarPropertyManagerTest
Bug: 237691268
Change-Id: I5d1fc669a038c50e3262b5b057c45300e48848b6
parent 4be58ff1
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -952,14 +952,7 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
         .initialValue = {.int32Values = {LIGHT_SWITCH_AUTO}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::FOG_LIGHTS_SWITCH),
                         .access = VehiclePropertyAccess::READ_WRITE,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                 },
         .initialValue = {.int32Values = {LIGHT_SWITCH_AUTO}}},

        // FOG_LIGHTS_SWITCH must not be implemented when FRONT_FOG_LIGHTS_SWITCH is implemented
        {.config =
                 {
                         .prop = toInt(VehicleProperty::FRONT_FOG_LIGHTS_SWITCH),
@@ -968,6 +961,7 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
         .initialValue = {.int32Values = {LIGHT_SWITCH_AUTO}}},

        // FOG_LIGHTS_SWITCH must not be implemented when REAR_FOG_LIGHTS_SWITCH is implemented
        {.config =
                 {
                         .prop = toInt(VehicleProperty::REAR_FOG_LIGHTS_SWITCH),