Merge "Allow mediadrmserver to call mediacodec." into oc-dev
diff --git a/public/recovery.te b/public/recovery.te
index 784596d..886f4fd 100644
--- a/public/recovery.te
+++ b/public/recovery.te
@@ -93,8 +93,7 @@
allow recovery { cache_file cache_recovery_file }:file create_file_perms;
# Read /sys/class/thermal/*/temp for thermal info.
- allow recovery sysfs_thermal:dir search;
- allow recovery sysfs_thermal:file r_file_perms;
+ r_dir_file(recovery, sysfs_thermal)
# Read files on /oem.
r_dir_file(recovery, oemfs);