Merge "Remove early break for sub-HAL initialization failure" am: 6e503b7a4e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1961241 Change-Id: I1c0fe77a180526a4a42c95e1cac8281824e95ca0
This commit is contained in:
commit
fa9af8de75
1 changed files with 2 additions and 2 deletions
|
@ -250,8 +250,8 @@ Return<Result> HalProxy::initializeCommon(
|
||||||
Result currRes = mSubHalList[i]->initialize(this, this, i);
|
Result currRes = mSubHalList[i]->initialize(this, this, i);
|
||||||
if (currRes != Result::OK) {
|
if (currRes != Result::OK) {
|
||||||
result = currRes;
|
result = currRes;
|
||||||
ALOGE("Subhal '%s' failed to initialize.", mSubHalList[i]->getName().c_str());
|
ALOGE("Subhal '%s' failed to initialize with reason %" PRId32 ".",
|
||||||
break;
|
mSubHalList[i]->getName().c_str(), static_cast<int32_t>(currRes));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue