diff options
author | Patrick Tjin <pattjin@google.com> | 2016-09-27 01:01:51 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-09-27 01:01:51 +0000 |
commit | 138c9cc4210af1422e36e264c33ce8115b2af53e (patch) | |
tree | 8e2c5947ed0c265f2cbe6b681b035cdcf50aac8d | |
parent | 03251ed1c3ba9399e772ca04adf854685287d237 (diff) | |
parent | e25bd405a25b7c71ffedabf6923e870587d3ff10 (diff) | |
download | shamu-138c9cc4210af1422e36e264c33ce8115b2af53e.tar.gz |
Allow shell to access battery info
am: e25bd405a2
Change-Id: I330f057cf211f17390334b6bf7f64c0f586dca2a
-rw-r--r-- | sepolicy/file_contexts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 993a745d..2f905598 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -156,7 +156,10 @@ # mmi_touch related /sys files /sys/devices/f9966000\.i2c/i2c-1/1-004a(/.*)? u:object_r:sysfs_mmi_touch:s0 -/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0 +/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0 +/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/cycle_count u:object_r:sysfs_batteryinfo:s0 +/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/temp u:object_r:sysfs_batteryinfo:s0 +/sys/devices/f9964000\.i2c/i2c-8/8-0048/temp1_input u:object_r:sysfs_batteryinfo:s0 # Context for mpdecision /sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0 |