sdm845-common: Bind mount our own audio policy configuration

Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
This commit is contained in:
LuK1337
2018-09-09 17:39:16 +02:00
committed by Luca Stefani
parent 25e29b6576
commit 1272127b9a
5 changed files with 442 additions and 0 deletions

View File

@@ -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

View File

@@ -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 };