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

Commit 2c903c71 authored by Vishnu Nair's avatar Vishnu Nair Committed by Android Build Coastguard Worker
Browse files

Fix build break in 25Q2-release

Bug: 277076451
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5013ab8640c7cbd8fdf89f133b4fa9184576e26f)
Merged-In: I5f9fb4e011abb383c51b0fc03553947f325c20ae
Change-Id: I5f9fb4e011abb383c51b0fc03553947f325c20ae
parent 0a282280
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -594,15 +594,6 @@ bool RequestedLayerState::fillsColor() const {
            color.b >= 0.0_hf;
            color.b >= 0.0_hf;
}
}


bool RequestedLayerState::hasBufferOrSidebandStream() const {
    return ((sidebandStream != nullptr) || (externalTexture != nullptr));
}

bool RequestedLayerState::fillsColor() const {
    return !hasBufferOrSidebandStream() && color.r >= 0.0_hf && color.g >= 0.0_hf &&
            color.b >= 0.0_hf;
}

bool RequestedLayerState::hasBlur() const {
bool RequestedLayerState::hasBlur() const {
    return backgroundBlurRadius > 0 || blurRegions.size() > 0;
    return backgroundBlurRadius > 0 || blurRegions.size() > 0;
}
}