commit | 9ac41106d8cd552b9f86781f772eae3c106294f7 | [log] [tgz] |
---|---|---|
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Wed Oct 14 12:32:55 2020 -0700 |
committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | Wed Oct 14 12:35:23 2020 -0700 |
tree | e23c8e06539fcc71f2cacf32b97b5d5c550d11cc | |
parent | 1fa07549e19dd35dddc3e83f5b47f7b01c687f72 [diff] |
health: Add CAP_BLOCK_SUSPEND Add CAP_BLOCK_SUSPEND to android.hardware.health@1.0 and android.hardware.health@2.1 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. Bug: 169873088 Change-Id: If9b0e1f60e47d7bf54942f589acbfbb883b9bac8