Merge "Duplicate setting when generate fake data" into rvc-dev am: 89fe540104
Change-Id: I1c2d4386571e8650ebe5e4894cf7b25cf860fa77
This commit is contained in:
commit
737c377861
1 changed files with 1 additions and 3 deletions
|
@ -146,9 +146,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),
|
||||
|
|
Loading…
Reference in a new issue