Return immediately when prop is not found am: 3648ac967a

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12640905

Change-Id: Ie6c4d68b6edcc9a9be54aa37044ad81a0cb28467
This commit is contained in:
Eric Jeong 2020-09-18 23:40:04 +00:00 committed by Automerger Merge Worker
commit d0d568fa21

View file

@ -78,6 +78,7 @@ Return<void> VehicleHalManager::getPropConfigs(const hidl_vec<int32_t> &properti
} else {
ALOGW("Requested config for undefined property: 0x%x", prop);
_hidl_cb(StatusCode::INVALID_ARG, hidl_vec<VehiclePropConfig>());
return Void();
}
}