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

Address SELinux denials for MTK's IMms, which is needed by its GL impl.
This commit is contained in:
Pierre-Hugues Husson 2021-11-05 20:40:54 -04:00 committed by Peter Cai
parent c74448755d
commit 6ccf81104b

View file

@ -0,0 +1,6 @@
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;