diff options
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2020-10-14 12:22:30 -0700 |
---|---|---|
committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2020-10-15 14:46:08 -0700 |
commit | c8713a8219ad1bb2ff1441fb7c970bb505991986 (patch) | |
tree | 4320c612d8069095b4c38bd98453aee81010afa8 /libutils/RefBase.cpp | |
parent | 44f7bfd3f0859c3a6dd03174deb257e0cf154f42 (diff) |
health: Add CAP_BLOCK_SUSPEND
Add CAP_BLOCK_SUSPEND to android.hardware.health@2.0 service so
that when epoll_wait() is waiting on uevents and timer_fd events
it can block suspend to take the necessary action. Without this
permission, eventpoll is going to ignore the flags EPOLLWAKEUP
used in health HAL or healthloop.
CRs-Fixed: 2751503
Bug: 169873088
Change-Id: I50d84dd853f718d46fb4f15113da032b60c34b0d
(cherry picked from commit 28ebc236258d0131ac5227b576452a0a35030ac5)
Diffstat (limited to 'libutils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions