SF: Also edit currentState in doTransaction
Bug 28899837
Change-Id: I46c8301549c627c5d1c7efa661055aba787a33d6
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index dffc542..b5d3262 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -1442,6 +1442,8 @@
// this is used by Layer, which special cases resizes.
if (flags & eDontUpdateGeometryState) {
} else {
+ Layer::State& editCurrentState(getCurrentState());
+ editCurrentState.active = editCurrentState.requested;
c.active = c.requested;
}