Setup sysfs_vibrator am: 4914414330
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah-sepolicy/+/16937218 Change-Id: Ic3a9a32bd46310854c2a52fef80bc688bf1af265
This commit is contained in:
commit
b70e3c6e8c
5 changed files with 7 additions and 11 deletions
2
cheetah/genfs_contexts
Normal file
2
cheetah/genfs_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Haptics
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
|
@ -1,7 +1,3 @@
|
|||
# Haptics
|
||||
/dev/snd/pcmC0D24p u:object_r:vibrator_snd_device:s0
|
||||
/dev/snd/pcmC1D24p u:object_r:vibrator_snd_device:s0
|
||||
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
|
|
3
cloudripper/genfs_contexts
Normal file
3
cloudripper/genfs_contexts
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Haptics
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a-dual u:object_r:sysfs_vibrator:s0
|
|
@ -1,7 +0,0 @@
|
|||
# Haptics
|
||||
allow hal_vibrator_default input_device:dir r_dir_perms;
|
||||
allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms;
|
||||
allow hal_vibrator_default vibrator_snd_device:dir search;
|
||||
allow hal_vibrator_default audio_device:dir search;
|
||||
allow hal_vibrator_default proc_asound:dir search;
|
||||
allow hal_vibrator_default proc_asound:file r_file_perms;
|
2
panther/genfs_contexts
Normal file
2
panther/genfs_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Haptics
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
|
Loading…
Add table
Add a link
Reference in a new issue