commit | 2d23690ef43f2a0506cecefeeaa785f71bf0d2ed | [log] [tgz] |
---|---|---|
author | TYM Tsai <tymtsai@google.com> | Thu Dec 27 16:46:06 2018 +0800 |
committer | TYM Tsai <tymtsai@google.com> | Thu Dec 27 20:24:23 2018 +0800 |
tree | 671430466a01789ceb6a994c8f93e26131f6f29f | |
parent | aef19af34fd19a2ebfd5a5c132a9ca340b17f418 [diff] |
Protects query pulse reason exception Checks the machine is currently in one of the pulse states before query the current pulse reason. Avoid incorrect undocked event cause DozeService crash. And refines test case and javadoc. Bug: 120464108 Test: atest SystemUITests Test: manual Change-Id: I3595217984ec7982de1f0f53765e7ae0a9d80fcf