[ALPS03869354] refine vibrator sysfs label

[Detail]
Refine vibrator sysfs label, using aosp defined device
Moreover, move it to basic folder due to its basic used

MTK-Commit-Id: 41053b65c8c26973005988d1ad14208fff98fde6

Change-Id: I9ed6ece496ea1ffff9f777fb1f90c76638ad979f
CR-Id: ALPS03869354
Feature: [Android Default] Backlight
This commit is contained in:
Chang-An Chen 2020-01-18 09:48:04 +08:00
parent d6abd2289c
commit 5e3fcfb472
2 changed files with 2 additions and 1 deletions

View File

@ -3,4 +3,3 @@ allow hal_vibrator sysfs_vibrator:dir r_dir_perms;
allow hal_vibrator sysfs_leds:file rw_file_perms;
allow hal_vibrator sysfs_leds:dir r_dir_perms;
allow hal_vibrator sysfs_leds:lnk_file read;
allow hal_vibrator_default sysfs:file { open write read };

View File

@ -44,5 +44,7 @@
#MTK vibrator
/sys/devices/platform/vibrator@0/leds/vibrator(/.*)? u:object_r:sysfs_vibrator:s0
/sys/devices/virtual/timed_output/vibrator(/.*)? u:object_r:sysfs_vibrator:s0
/sys/devices/platform/leds-mt65xx/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/block/mmcblk0rpmb/size u:object_r:access_sys_file:s0