OSDN Git Service

ScrimController: Wait with clearing wakup animation until done
authorAdrian Roos <roosa@google.com>
Mon, 7 Aug 2017 14:55:46 +0000 (16:55 +0200)
committerAdrian Roos <roosa@google.com>
Mon, 7 Aug 2017 14:55:46 +0000 (16:55 +0200)
commit97486d25485639f844a07bb6b3ffb02abedc414c
treeaafedaf7943732f967ddf5a5be9d7d3ab51a81ef
parent9f3bac52ee2590b757929b9c237bbac3c71aa886
ScrimController: Wait with clearing wakup animation until done

Fixes an issue where if another animation was started during
the wakeupFromDoze animation, the scrim would flash white
because the original animation got canceled. Instead now wait
until the animation is actually completed, not just altered.

Change-Id: I7738ec838d77f78dde2c5810369c50b4fafaeb67
Fixes: 64412754
Test: Trigger assistant from AOD; verify there is no white flash.
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java