Merge "Enable recovery to read batteryinfo." into nyc-dev

This commit is contained in:
Yabin Cui 2016-02-23 21:28:31 +00:00 committed by Android (Google) Code Review
commit 91fc66320f

View file

@ -48,6 +48,8 @@ recovery_only(`
# TODO: create more specific label?
allow recovery sysfs:file w_file_perms;
allow recovery sysfs_batteryinfo:file r_file_perms;
allow recovery kernel:system syslog_read;
# Access /dev/android_adb or /dev/usb-ffs/adb/ep0