sepolicy: allow installd to query ASEC size

installd need to query ASEC size on sdcard_external
to show on the Settings -> Apps page correctly.

Change-Id: I2d9a49b8f0652f05d73d0ff464a3835595e2cc3c
diff --git a/sepolicy/installd.te b/sepolicy/installd.te
new file mode 100644
index 0000000..65f471a
--- /dev/null
+++ b/sepolicy/installd.te
@@ -0,0 +1,3 @@
+# Allow querying of asec size on SD card
+allow installd sdcard_external:dir { search };
+allow installd sdcard_external:file { getattr };
diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk
index bde93dc..26d2caa 100644
--- a/sepolicy/sepolicy.mk
+++ b/sepolicy/sepolicy.mk
@@ -11,5 +11,6 @@
     file_contexts \
     fs_use \
     genfs_contexts \
+    installd.te \
     seapp_contexts \
     mac_permissions.xml