Allow installd to delete from preloads/file_cache am: a64b685013 am: 797163db24
am: 409bcf8c11

Change-Id: I755e1d81dbd5abeb8ca7aeb3967474e0b73e2629
diff --git a/public/installd.te b/public/installd.te
index 08c438d..3b4fd2e 100644
--- a/public/installd.te
+++ b/public/installd.te
@@ -130,6 +130,11 @@
 allow installd block_device:dir { search };
 allow installd labeledfs:filesystem { quotaget quotamod };
 
+# Allow installd to delete from /data/preloads when trimming data caches
+# TODO b/34690396 Remove when time-based purge policy for preloads is implemented in system_server
+allow installd preloads_data_file:file { r_file_perms unlink };
+allow installd preloads_data_file:dir { r_dir_perms write remove_name rmdir };
+
 ###
 ### Neverallow rules
 ###