commit | acb32e365288f7e88c78f012f731799e8a607565 | [log] [tgz] |
---|---|---|
author | Felix <google@ix5.org> | Fri Jan 04 02:24:41 2019 +0100 |
committer | Felix <google@ix5.org> | Fri Jan 04 02:24:41 2019 +0100 |
tree | 7c14754eaea83e8fa15d1a7635118b682a0a94a0 | |
parent | 4fd09b25cd2a45f61d990c87055f92c526ad2bac [diff] |
health: Add CAP_WAKE_ALARM to service via init platform/interfaces/health/2.0/default/healthd_common.cpp wants to use timerfd_create() to register a wakealarm. To use the timerfd_create() syscall with CLOCK_BOOTTIME_ALARM, CAP_WAKE_ALARM is needed. Since the .rc file for android.hardware.health@2.0 is shipped here in system/core, update it here. Signed-off-by: Felix <google@ix5.org> Change-Id: I6cd5701b6e5cac37eb021d894251a3a9dc590b95