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

Commit 412c592e authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Don't set the visibleRegion dirty bit if blur regions are changing

Test: check winscope trace when pulling down notification shade, see frames are
treated as buffer latches
Bug: 191969790

Change-Id: Ifa73d30dcae6d9336cf8e3d709dd8766c9d1b591
parent e1c1b1c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -954,7 +954,6 @@ bool Layer::setTransparentRegionHint(const Region& transparent) {
}

bool Layer::setBlurRegions(const std::vector<BlurRegion>& blurRegions) {
    mDrawingState.sequence++;
    mDrawingState.blurRegions = blurRegions;
    mDrawingState.modified = true;
    setTransactionFlags(eTransactionNeeded);