summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index dffc5425c5..b5d3262056 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -1442,6 +1442,8 @@ uint32_t Layer::doTransaction(uint32_t flags) {
// 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;
}