Skip to content
Snippets Groups Projects
Commit ead74ee2 authored by Yabin Cui's avatar Yabin Cui Committed by android-build-merger
Browse files

Enable recovery to read batteryinfo.

am: 6b843bcf

* commit '6b843bcf':
  Enable recovery to read batteryinfo.
parents a2c93a40 6b843bcf
Branches
Tags
No related merge requests found
...@@ -48,6 +48,8 @@ recovery_only(` ...@@ -48,6 +48,8 @@ recovery_only(`
# TODO: create more specific label? # TODO: create more specific label?
allow recovery sysfs:file w_file_perms; allow recovery sysfs:file w_file_perms;
allow recovery sysfs_batteryinfo:file r_file_perms;
allow recovery kernel:system syslog_read; allow recovery kernel:system syslog_read;
# Access /dev/android_adb or /dev/usb-ffs/adb/ep0 # Access /dev/android_adb or /dev/usb-ffs/adb/ep0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment