summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Pablo Ceballos <pceballos@google.com> 2016-06-02 17:46:05 -0700
committer Pablo Ceballos <pceballos@google.com> 2016-06-03 19:35:16 -0700
commit7d05257585918bd578bc0bc18f32571a48a7304a (patch)
tree7b0a14b127cefa60633cc692f38ff9af8341eda4 /services/surfaceflinger/Layer.cpp
parente4ecdb66d5c2eed64cbd5b267e0621cab7b8a63b (diff)
SF: Also edit currentState in doTransaction
Bug 28899837 Change-Id: I46c8301549c627c5d1c7efa661055aba787a33d6
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;
}