[ALPS04377757] Fix mediacodec sepolicy issue

[Detail]
Fix mediacodec sepolicy issue

[Solution]
Add following to mediacodec due to new check rules after Android Q.
GED_BRIDGE_IO_GE_GET
GED_BRIDGE_IO_GE_SET

MTK-Commit-Id: a037b13e90f3b02999539d17dfde4e1827523b9d

Change-Id: If8e986a630803a9c2eee0c9654b728f5178ee0e9
CR-Id: ALPS04377757
Feature: [Module]Video Driver
This commit is contained in:
Jason Hsu 2020-01-18 10:09:54 +08:00
parent 6f9e880db8
commit 802ee2afa1

View File

@ -90,6 +90,7 @@ allow mediacodec MtkCodecService:binder transfer;
# Date : WK16.33 # Date : WK16.33
# Purpose: Allow to access ged for gralloc_extra functions # Purpose: Allow to access ged for gralloc_extra functions
allow mediacodec proc_ged:file {open read write ioctl getattr}; allow mediacodec proc_ged:file {open read write ioctl getattr};
allowxperm mediacodec proc_ged:file ioctl { GED_BRIDGE_IO_GE_GET GED_BRIDGE_IO_GE_SET };
# Data : WK16.42 # Data : WK16.42
# Operator: Whitney bring up # Operator: Whitney bring up