summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2016-04-20 17:45:24 -0700
committerChong Zhang <chz@google.com>2016-04-20 18:01:10 -0700
commit3cc58ddd3c39580d0c008d1cf7138d5634be1b90 (patch)
treed2573f42334368cc49fee9c94ee7fbf171cb1d2a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc8df6aa42facbe0cf7c05e4db78ec4a4e224b78b (diff)
Fix dead surface/window left on screen
If the surface is explicitly hidden while we're changing resizing mode, we need to discard the preserved surface immediately, otherwise it could linger around on screen. Do not mark mAnimatingExit in setTokenVisibilityLocked. This flag can only be set after client relayouts to invisible. There we set mAnimatingExit and mAnimating, so that when animation finishes the surface is marked to be destroyed. If we marke it too early (and not mark mAnimating at the same time), the surface may get stuck in exiting state. bug: 28236574 Change-Id: I5cc916dfa698113e1d783a66547e1878469a9879
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions