summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2018-05-30 17:32:51 +0200
committerJorim Jaggi <jjaggi@google.com>2018-05-30 17:39:36 +0200
commitb824f87c65216e4dfe5e9ab0e63795466836bc0f (patch)
tree3872bde4f6183b03aa2247a4f7b9598ed123b913 /tools/aapt2/java/JavaClassGenerator.cpp
parentcd56073b094f819c18cca56acdd2bc58d7534a9c (diff)
Defer stop for all activities becoming invisible
If we are deferring a stop until a window is becoming visible, it's a good idea to also defer stopping all other activities that are go into stopping state to avoid flickers. This fixes an issue with quickstep when swiping right and the previous activity hasn't finished pausing yet when we start the new activity. In the normal case, prev=Launcher and all is fine, as we wait with stopping launcher until the animation is done. In the bad case, prev=the previous activity that was on screen before swiping, so Launcher doesn't get added to the waiting list, which means that it will be stopped too early, aborting the animation because Launcher is also driving it. Test: go/wm-smoke Test: Swipe right from Chrome to any other app, observe no jump Bug: 80313326 Change-Id: Ia24b5de74a1d321f11735cdffc331d3806bae2d8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions