summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2021-08-10 16:13:21 -0700
committerEvan Rosky <erosky@google.com>2021-08-13 13:42:25 -0700
commit91eee7fdcb02035417028f5039578efc49c64e22 (patch)
tree2d1522ebb572598cb0a94baa02a22cf4cc539a7b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3ed6fed8cfcd70fc9ae911044ad06c8f2a28dd4f (diff)
Don't prematurely commit visibility in consecutive shell transitions
Originally, upon finish, any participating activity would immediately any commitVisibility(false) if the activity was invisible. This can cause "glitches" in quick sequences of animations (like opening and then immediately closing an activity) because even if a transition was created to make an activity visible, if it happened to be invisibleRequested by the time the transition finished, it'd immediately hide the surface when that surface is still needed for the follow-on animation. This CL records the "intended" endVisibility of each window token in a transition so that it can be used during finishTransition to prevent commitVisibility if a follow-on transition is responible for animating it. Bug: 183993924 Test: atest TransitionTests#testIntermediateVisibility Change-Id: Ib830ccfa924191091a152037156ae62cd98ffa09
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions