diff options
author | Chao Chen <cchen@cyngn.com> | 2016-02-17 09:44:07 -0800 |
---|---|---|
committer | Scott Mertz <scott@cyngn.com> | 2016-03-23 17:22:49 -0700 |
commit | 1f7acea04de864f399f5582bcdfef0982401ecb8 (patch) | |
tree | c47c0f945a619bb48686545d9755a607e19829e8 | |
parent | a26d342dae9438bc3145e733116934ff8761cf74 (diff) | |
download | android_device_qcom_sepolicy-stable/cm-13.0-ZNH0E.tar.gz android_device_qcom_sepolicy-stable/cm-13.0-ZNH0E.tar.bz2 android_device_qcom_sepolicy-stable/cm-13.0-ZNH0E.zip |
healthd : allow healthd to read RTC/alarm devicesstable/cm-13.0-ZNH0E
* Charger mode support for off mode alarms require healthd to read
RTC/alarm devices.
REF: CYNGNOS-2073
Change-Id: I5c66699998d17def63a2e1f8981f088448cc8aa6
(cherry picked from commit 4a7160147a688dc71cef729399636163a33a1b8e)
-rw-r--r-- | common/healthd.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/healthd.te b/common/healthd.te index 3f7f25b0..3212afa4 100644 --- a/common/healthd.te +++ b/common/healthd.te @@ -1,3 +1,5 @@ r_dir_file(healthd, sysfs_battery_supply) r_dir_file(healthd, sysfs_usb_supply) r_dir_file(healthd, sysfs_thermal); +allow healthd alarm_device:chr_file rw_file_perms; +allow healthd rtc_device:chr_file r_file_perms; |