sdm845-common: Bind mount our own audio policy configuration
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
# Files in sysfs
|
||||
/sys/devices/platform/soc/soc:goodix_fp/proximity_state u:object_r:sysfs_fpc_proximity:s0
|
||||
|
||||
# Audio
|
||||
/system/etc/audio_policy_configuration.xml u:object_r:vendor_configs_file:s0
|
||||
|
||||
# Lights
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# Allow init to mount wlan kernel module
|
||||
allow init vendor_file:file mounton;
|
||||
|
||||
# Allow init to mount vendor configs
|
||||
allow init vendor_configs_file:file mounton;
|
||||
|
||||
# Allow init to chown/chmod on pseudo files in /sys
|
||||
allow init sysfs_type:file { open read setattr };
|
||||
|
||||
Reference in New Issue
Block a user