diff options
author | Nick Armstrong-Crews <strongarm@google.com> | 2015-09-07 21:46:50 -0700 |
---|---|---|
committer | Nick Armstrong-Crews <strongarm@google.com> | 2015-09-07 21:46:50 -0700 |
commit | 56ecfcce6c88fc80cf509effcebb124bbe0c79f8 (patch) | |
tree | 1bd9da19b554a4aa287707b9917a49076ba66271 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9b8f82a3a073891965a962251f9e613ba8cc90bb (diff) |
Handle KEYCODE_SOFT_SLEEP from Ungaze.
Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by
sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls
PowerManagerService's new method setUserInactiveOverride (thereby
causing immediate sleep, modulo wakelocks, upon next iteration of
PowerManagerService's main loop).
BUG: b/23589870
Change-Id: Iddafdde923605d119075e890eeda5d3fd3fd2bc7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions