mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Non-root shells didn't have access to capacity measurements; the file context relabeling and shell access to search sysfs_msm_subsys dir's fixed this. Bug: 37875181 Test: cat /sys/class/power_supply/*/capacity returns values as a non-root user Change-Id: Iaa64f35b642bc656b8d7630aa621afffd61ae490
3 lines
98 B
Plaintext
3 lines
98 B
Plaintext
# To allow non-root to find power_supply management info
|
|
allow shell sysfs_msm_subsys:dir search;
|