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:
Treehugger Robot 2022-01-27 22:22:58 +00:00 committed by Automerger Merge Worker
commit fa9af8de75

View file

@ -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));
} }
} }