diff options
| author | 2019-09-24 13:03:58 +0100 | |
|---|---|---|
| committer | 2019-10-03 16:36:43 +0000 | |
| commit | 4b5a87fa938c25c496937fd8c25c9c515e6cf5dd (patch) | |
| tree | ef92c5277725d1fb39cbb2aff94701df3596d21f /vulkan/libvulkan/api.cpp | |
| parent | 72f94e1d6f76913d9346b9b843e452ad237d6137 (diff) | |
Remove wakelocks from InputReader
The flag EPOLLWAKEUP already guarantees that the system stays awake
while we are processing any events returned by epoll_wait. The system
may only enter suspend after epoll_wait is called again, or if the fd is
removed from epoll.
So, there is no need to do the same wakelock management explicitly in
EventHub/InputReader.
Bug: 141532209
Test: use the power key to turn off/on screen on the device. Play some
music (download some mp3 file), then turn off the screen, and use volume
keys to change the music volume.
Change-Id: I8b3e64300d4f523e28c566cd7d7cd8aef97e0fed
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions