android_device_samsung_a20/sepolicy/vendor/mediacodec.te
SamarV-121 1875a501a1 universal7885: sepolicy: Adapt for universal7885 and address denials
* Everything's working fine now
 * todo: Cleanup unnecessary rules and vendor init

Change-Id: I4faea56383b5851bbd486f45d103e0bb94ebdd24
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00

9 lines
309 B
Text

# /sys/class/video4linux/video6/name
allow mediacodec sysfs_v4l:dir r_dir_perms;
allow mediacodec sysfs_v4l_mfc:dir search;
allow mediacodec sysfs_v4l_mfc:file r_file_perms;
binder_call(mediacodec, hal_power_default)
binder_call(hal_power_default, mediacodec)
add_hwservice(mediacodec, hal_power_hwservice)