diff --git a/public/platform_app.te b/public/platform_app.te index 64843195b347b7ac5c52a3620d5ba537d4ff8c6c..c7e9a00c2f5075c4066a794cc167bda1baebb8c8 100644 --- a/public/platform_app.te +++ b/public/platform_app.te @@ -26,12 +26,8 @@ allow platform_app media_rw_data_file:dir create_dir_perms; allow platform_app media_rw_data_file:file create_file_perms; # Write to /cache. -allow platform_app { cache_file cache_recovery_file }:dir create_dir_perms; -allow platform_app { cache_file cache_recovery_file }:file create_file_perms; - -# Likely not needed -auditallow platform_app cache_recovery_file:dir create_dir_perms; -auditallow platform_app cache_recovery_file:file create_file_perms; +allow platform_app cache_file:dir create_dir_perms; +allow platform_app cache_file:file create_file_perms; # Direct access to vold-mounted storage under /mnt/media_rw # This is a performance optimization that allows platform apps to bypass the FUSE layer