Merge "Duplicate setting when generate fake data" into rvc-dev am: 89fe540104 am: 737c377861

Change-Id: I49de617f0a177a36d404ca85e46ea7d98f288341
This commit is contained in:
Kai Wang
2020-05-01 23:17:00 +00:00
committed by Automerger Merge Worker

View File

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