Get back to allowing "rild" universally

This requires to drop a checkpolicy, because checkpolicy doesn't allow
multiple identical domains definition, and "rild" will be defined both
in system and vendor.
This isn't optimal, but that's still the best solution I've found.
This commit is contained in:
Pierre-Hugues Husson 2018-09-18 11:16:19 +02:00
parent f446ad7290
commit b544b15e68
2 changed files with 3 additions and 3 deletions

View File

@ -92,3 +92,4 @@ PRODUCT_COPY_FILES += \
device/phh/treble/files/samsung-sec_touchscreen.kl:system/phh/samsung-sec_touchscreen.kl \
device/phh/treble/files/oneplus6-synaptics_s3320.kl:system/phh/oneplus6-synaptics_s3320.kl \
SELINUX_IGNORE_NEVERALLOWS := true

View File

@ -1,9 +1,8 @@
attribute rild_26_0;
attribute rild_27_0;
type rild, domain;
#me.phh.treble.qti.audio is system-signed
allow system_app hal_telephony_hwservice:hwservice_manager { find };
allow { rild_26_0 rild_27_0 system_app } { rild_26_0 rild_27_0 system_app }:binder { call transfer };
allow { rild system_app } { rild system_app }:binder { call transfer };
#Pixel 1
type vnd_qcril_audio_hwservice, hwservice_manager_type;