Add SELinux policy to access qualcomm audio HAL on Pixel-s

This commit is contained in:
Pierre-Hugues Husson 2018-06-29 00:31:05 +02:00
parent 6fedb4d2cb
commit 9b1ab76f44

View File

@ -1,3 +1,11 @@
#me.phh.treble.qti.audio is system-signed
allow system_app hal_telephony_hwservice:hwservice_manager { find };
allow { rild system_app } { rild system_app }:binder { call transfer };
#Pixel 1
type vnd_qcril_audio_hwservice, hwservice_manager_type;
allow system_app vnd_qcril_audio_hwservice:hwservice_manager { find };
#Pixel 2
type vnd_qcrilhook_hwservice, hwservice_manager_type;
allow system_app vnd_qcrilhook_hwservice:hwservice_manager { find };