OSDN Git Service

AOD: Only play wakeup animation when actually waking up
authorAdrian Roos <roosa@google.com>
Mon, 21 Aug 2017 15:17:20 +0000 (17:17 +0200)
committerAdrian Roos <roosa@google.com>
Mon, 21 Aug 2017 15:17:20 +0000 (17:17 +0200)
commitb9afae2e50c0240ee103ab44fad13b75aef985b6
tree78ec6c1b2ab94de7acfbedef6c2010d48c261f2a
parent1ec1ab6803ef11ce95975b19801e576379a807e5
AOD: Only play wakeup animation when actually waking up

Fixes an issue where the wake up animation could play when going to sleep,
if the screen turning on for AOD happened after the finishing going to sleep.

Change-Id: I6b00aaefb672a630f43ca229d6cc66d12bc4205c
Fixes: 64814671
Test: Pull up app launcher, turn off screen, verify AOD does not blink.
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java