Skip to content
Snippets Groups Projects
Commit 964c783f authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "recovery: Allow accessing sysfs_leds."

am: 04641948

Change-Id: I8e2a131d51725e4ba2cb5867fe99565f810e6381
parents c701272d 04641948
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,12 @@ recovery_only(`
allow recovery sysfs_batteryinfo:file r_file_perms;
# Read from /sys/class/leds/lcd-backlight/max_brightness and write to /s/c/l/l/brightness to
# control backlight brightness.
allow recovery sysfs_leds:dir r_dir_perms;
allow recovery sysfs_leds:file rw_file_perms;
allow recovery sysfs_leds:lnk_file read;
allow recovery kernel:system syslog_read;
# Access /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