OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4ecdb6
)
SF: Also edit currentState in doTransaction
author
Pablo Ceballos
<pceballos@google.com>
Fri, 3 Jun 2016 00:46:05 +0000
(17:46 -0700)
committer
Pablo Ceballos
<pceballos@google.com>
Sat, 4 Jun 2016 02:35:16 +0000
(19:35 -0700)
Bug
28899837
Change-Id: I46c8301549c627c5d1c7efa661055aba787a33d6
services/surfaceflinger/Layer.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/Layer.cpp
b/services/surfaceflinger/Layer.cpp
index
dffc542
..
b5d3262
100644
(file)
--- 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;
}