[DO NOT MERGE] Allow media codec to access power HAL
This commit fixes the following denials: W /vendor/bin/hw/google.hardware.media.c2@1.0-service: type=1400 audit(0.0:276): avc: denied { call } for comm=436F646563322E30204C6F6F706572 scontext=u:r:mediacodec:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=0 bug: 206687836 Test: Secure HFR AV1 video playback with resolution change. Signed-off-by: Vinay Kalia <vinaykalia@google.com> Change-Id: I79c20bda87af6066ae667a5176747378718a3a62
This commit is contained in:
parent
734d79bdaf
commit
8337626f4a
1 changed files with 1 additions and 0 deletions
1
whitechapel/vendor/google/mediacodec.te
vendored
1
whitechapel/vendor/google/mediacodec.te
vendored
|
@ -7,3 +7,4 @@ allow mediacodec hal_camera_default:binder call;
|
|||
allow mediacodec sysfs_video:file r_file_perms;
|
||||
allow mediacodec sysfs_video:dir r_dir_perms;
|
||||
allow mediacodec dmabuf_system_secure_heap_device:chr_file r_file_perms;
|
||||
hal_client_domain(mediacodec, hal_power);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue