Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f412d6f authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Fix log statement on failure to setVisibleRegion"

parents d211944d f2b8ec47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -481,7 +481,7 @@ void OutputLayer::writeOutputDependentPerFrameStateToHWC(HWC2::Layer* hwcLayer)
    if (auto error = hwcLayer->setVisibleRegion(visibleRegion); error != hal::Error::NONE) {
        ALOGE("[%s] Failed to set visible region: %s (%d)", getLayerFE().getDebugName(),
              to_string(error).c_str(), static_cast<int32_t>(error));
        outputDependentState.outputSpaceVisibleRegion.dump(LOG_TAG);
        visibleRegion.dump(LOG_TAG);
    }

    const auto dataspace = outputDependentState.overrideInfo.buffer