summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-03-26 14:06:17 -0700
committerchaviw <chaviw@google.com>2018-03-27 11:07:26 -0700
commit87ca63a7bc6f1d7fae899fb968dfa8a0f8ade5a6 (patch)
tree0988470612ca34783546b0ef48b16eaabc486df6 /opengl/tests/gl_basic/gl_basic.cpp
parent294ad785342f0eaaf41c59d819edd559450a4a2a (diff)
Don't animate dim layer exit when recents animation finishes.
Recents animation handles animating the entire Task, which includes the dim layer. After the recents animation is completed, there's no need for the dim layer to start the exit animation. The recents animation takes care of fading out the dim layer. Instead, just set the dimmer mAnimateExit to false so the next call to updateDims will remove the dim layer instead of starting the exit animation. Test: Enter quick step with assistant open. Dim no longer flickers at the end of the quick step animation. Test: DimmerTests#testRemoveDimImmediately Fixes: 74606159 Change-Id: Iceb4edde5edffdbba57dca35f258d9b3d7bf74f4
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions