-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
universal7885: Bring back lights HAL
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# hal_light_default.te | ||
|
||
# /sys/devices/platform/panel@0/backlight/panel/brightness | ||
# /sys/devices/platform/panel@0/backlight/panel/max_brightness | ||
allow hal_light_default sysfs_backlight_writable:file rw_file_perms; | ||
allow hal_light_default sysfs_graphics:dir search; | ||
allow hal_light_default sysfs_graphics:file rw_file_perms; | ||
allow hal_light_default sysfs_virtual:dir search; | ||
allow hal_light_default sysfs_virtual:file rw_file_perms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters