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

Commit 89fe5401 authored by Kai Wang's avatar Kai Wang Committed by Android (Google) Code Review
Browse files

Merge "Duplicate setting when generate fake data" into rvc-dev

parents a3f9fae5 56e5567a
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -175,9 +175,7 @@ StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) {
        // here, since we never send the control signal back, the value of 'updateStatus' flag
        // here, since we never send the control signal back, the value of 'updateStatus' flag
        // does not matter here.
        // does not matter here.
        auto status = mVehicleClient->setProperty(propValue, updateStatus);
        auto status = mVehicleClient->setProperty(propValue, updateStatus);
        if (status != StatusCode::OK) {
        return status;
        return status;
        }
    } else if (mHvacPowerProps.count(propValue.prop)) {
    } else if (mHvacPowerProps.count(propValue.prop)) {
        auto hvacPowerOn = mPropStore->readValueOrNull(
        auto hvacPowerOn = mPropStore->readValueOrNull(
            toInt(VehicleProperty::HVAC_POWER_ON),
            toInt(VehicleProperty::HVAC_POWER_ON),