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

Commit 130e55ca authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Do not accept blur transaction when disabled

Bug: 155420902
Test: forrest
Change-Id: I5f0437f28c25465091cec4cb78e8f5c55bc94f0e
parent 513a77cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3683,7 +3683,7 @@ uint32_t SurfaceFlinger::setClientStateLocked(
        if (layer->setCornerRadius(s.cornerRadius))
            flags |= eTraversalNeeded;
    }
    if (what & layer_state_t::eBackgroundBlurRadiusChanged && !mDisableBlurs) {
    if (what & layer_state_t::eBackgroundBlurRadiusChanged && !mDisableBlurs && mSupportsBlur) {
        if (layer->setBackgroundBlurRadius(s.backgroundBlurRadius)) flags |= eTraversalNeeded;
    }
    if (what & layer_state_t::eLayerStackChanged) {