commit | b84dc1866a7f00c5813990e5fd5837c1ba6f26fc | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Fri Dec 02 09:01:09 2016 -0800 |
committer | Adrian Roos <roosa@google.com> | Mon Dec 05 22:09:25 2016 +0000 |
tree | ff84f3dbe4ca9b49cc4f4351f3e06bf9858f9d59 | |
parent | e8ac4110c8ba22dfa01e9941c296d8b32781c500 [diff] |
DozeMachine: Improve resilience against out-of-order pulse requests Fixes a class of bugs that arise from requesting to pulse at inopportune times. Also improves logging such that we know what state transition failed to validate. Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java Change-Id: If0bbe003c4805fd180d013dadbc28addc5bb0dd4 Fixes: 32869355