Merge "Do not accept blur transaction when disabled" into rvc-dev am: b31d3c81e9
Original change: undetermined Change-Id: Id7e4e1cf741efa6cb88855ebb2ee1d866df8ee73
This commit is contained in:
commit
e0e480c2d8
1 changed files with 1 additions and 1 deletions
|
@ -3685,7 +3685,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) {
|
||||
|
|
Loading…
Reference in a new issue