Add sepolicy for installd check sdcardfs usage property
We should add sepolicy for installd to get permission to check for external_storage.sdcardfs.enabled before deciding that the system is using sdcardfs.
Test: Run on device not using sdcardfs, but with sdcardfs present in kernel
Bug: 160727529
Bug: 181819712
Change-Id: I79df67789ab003762337ad4e89e46892990d0e60
diff --git a/public/installd.te b/public/installd.te
index 61c8bce..eb13cfa 100644
--- a/public/installd.te
+++ b/public/installd.te
@@ -157,6 +157,9 @@
# Allow installd to read /proc/filesystems
allow installd proc_filesystems:file r_file_perms;
+#add for move app to sd card
+get_prop(installd, storage_config_prop)
+
###
### Neverallow rules
###