Merge "SF: Set state modified flag when changing sizes" into nyc-dev
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 96252f3..ed320cb 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -1820,6 +1820,7 @@
                         // NOTE: We don't need to hold the transaction lock here
                         // because State::active is only accessed from this thread.
                         current.active = front.active;
+                        current.modified = true;
 
                         // recompute visible region
                         recomputeVisibleRegions = true;