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
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index ad31b3f..5dc0242 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -954,7 +954,6 @@
}
bool Layer::setBlurRegions(const std::vector<BlurRegion>& blurRegions) {
- mDrawingState.sequence++;
mDrawingState.blurRegions = blurRegions;
mDrawingState.modified = true;
setTransactionFlags(eTransactionNeeded);