[ALPS03852480] add sepolicy for mediacodec getattr proc_thermal
[Detail]
Add sepolicy for mediacodec since SW decoder would control CPU freq and will need to getattr proc_thermal
MTK-Commit-Id: 5ce3aa68771bdb3af46a43b1c3455d365256c99c
Change-Id: I4ca98c4ae7b06e616e19f582190826beec490a04
CR-Id: ALPS03852480
Feature: VP9 Decoder
(cherry picked from commit f173ea13c62696f30465a4cb23061e1512c0ae1f)
diff --git a/non_plat/mediacodec.te b/non_plat/mediacodec.te
index 379f67b..c267535 100644
--- a/non_plat/mediacodec.te
+++ b/non_plat/mediacodec.te
@@ -95,7 +95,7 @@
allow mediacodec proc_thermal:dir search;
allow mediacodec proc_mtkcooler:file { read write open };
allow mediacodec proc_mtktz:file { read write open getattr };
-allow mediacodec proc_thermal:file { read write open };
+allow mediacodec proc_thermal:file { read write open getattr};
allow mediacodec thermal_manager_data_file:file create_file_perms;
allow mediacodec thermal_manager_data_file:dir { rw_dir_perms setattr };
allow mediacodec thermal_manager_data_file:dir search;