Loading automotive/vehicle/aidl/impl/utils/common/src/VehiclePropertyStore.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -153,10 +153,9 @@ VhalResult<void> VehiclePropertyStore::writeValue(VehiclePropValuePool::Recyclab propValue->status = oldStatus; } // areaId and propId must be the same between valueToUpdate and propValue. valueUpdated = (valueToUpdate->value != propValue->value || valueToUpdate->status != propValue->status || valueToUpdate->prop != propValue->prop || valueToUpdate->areaId != propValue->areaId); valueToUpdate->status != propValue->status); } else if (!updateStatus) { propValue->status = VehiclePropertyStatus::AVAILABLE; } Loading Loading
automotive/vehicle/aidl/impl/utils/common/src/VehiclePropertyStore.cpp +2 −3 Original line number Diff line number Diff line Loading @@ -153,10 +153,9 @@ VhalResult<void> VehiclePropertyStore::writeValue(VehiclePropValuePool::Recyclab propValue->status = oldStatus; } // areaId and propId must be the same between valueToUpdate and propValue. valueUpdated = (valueToUpdate->value != propValue->value || valueToUpdate->status != propValue->status || valueToUpdate->prop != propValue->prop || valueToUpdate->areaId != propValue->areaId); valueToUpdate->status != propValue->status); } else if (!updateStatus) { propValue->status = VehiclePropertyStatus::AVAILABLE; } Loading