commit | ea689c4972c48527547eaf430bd4ca14b09e1b57 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Wed Apr 01 12:32:54 2020 -0700 |
committer | Lucas Dupin <dupin@google.com> | Wed Apr 01 22:29:54 2020 +0000 |
tree | c75d75295251ddd5f59118ac9258f3906bfcb8d4 | |
parent | c9bdb4aa296fedbc4297a5e40c4b109617b5ec02 [diff] |
Fix issue where AOD would not start We shouldn't mix wakefulness with dream states, they come asynchronously from different parts of the system. This means that the device might not be GOING_TO_SLEEP when DozeService is started. We also can't rely on wakefulness to drive Doze animations. Test: unlock with fingerprint Test: press power from launcher and lock screen multiple times Fixes: 152835247 Change-Id: I3eaf2ae1801bbb999a6466c214234f33804ccf19