summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-09-24 13:03:58 +0100
committer Siarhei Vishniakou <svv@google.com> 2019-10-03 16:36:43 +0000
commit4b5a87fa938c25c496937fd8c25c9c515e6cf5dd (patch)
treeef92c5277725d1fb39cbb2aff94701df3596d21f /vulkan/libvulkan/api.cpp
parent72f94e1d6f76913d9346b9b843e452ad237d6137 (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