sepolicy: allow mediacodec to access audio devices

Mediacodec needs to access audio devices to use OMX HW decoders and
encoders. Allow mediacodec to access audio devices.

Change-Id: I791776848b1d42ff1bc13a445c03197d71e3bba4
This commit is contained in:
Banajit Goswami
2019-03-18 15:42:17 -07:00
parent a43bfe4a1a
commit 0b5c8e3e48

View File

@@ -28,6 +28,7 @@
#WFD
#Allow mediacodec to access service manager wfdnativemm_service
allow mediacodec wfdnativemm_service:service_manager find;
allow mediacodec audio_device:chr_file rw_file_perms;
binder_call(mediacodec, wifidisplayhalservice_qti);
get_prop(mediacodec, vendor_video_prop)