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:
commit
d0d568fa21
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue