diff --git a/priv_app.te b/priv_app.te index ff47f8e8f4eb481a5b5846b5cd2847873ff1fed4..37764ebe5cb505661ff60077ab220593a013e948 100644 --- a/priv_app.te +++ b/priv_app.te @@ -29,6 +29,10 @@ allow priv_app persistent_data_block_service:service_manager find; # TODO: narrow this to just MediaProvider allow priv_app mnt_media_rw_file:dir search; +# Write to /cache. +allow priv_app cache_file:dir create_dir_perms; +allow priv_app cache_file:file create_file_perms; + # Access to /data/media. allow priv_app media_rw_data_file:dir create_dir_perms; allow priv_app media_rw_data_file:file create_file_perms;