Fix video crashing on apps targetting Android 11, on some Mediatek devices (like Redmi 9)

This commit is contained in:
Pierre-Hugues Husson 2021-01-21 09:59:04 -05:00
parent aae160672f
commit 43f324824a
1 changed files with 14 additions and 0 deletions

View File

@ -3,3 +3,17 @@ type proc_ged, file_type;
allowxperm domain proc_ged:file ioctl { 0x6700-0x67ff };
allow init mnt_product_file:dir mounton;
type mtk_hal_audio, domain;
typeattribute mtk_hal_audio hal_broadcastradio_client;
type mtk_hal_power, domain;
allow mtk_hal_power system_data_root_file:file create_file_perms;
allow zygote ashmem_device:chr_file execute;
attribute hal_mms_server;
binder_call({appdomain -isolated_app}, hal_mms_server)
binder_call(hal_mms_server, {appdomain -isolated_app})
type mtk_hal_mms_hwservice, hwservice_manager_type;
allow { appdomain -isolated_app } mtk_hal_mms_hwservice:hwservice_manager find;