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
This commit is contained in:
Pawit Pornkitprasan 2013-11-13 22:35:00 +07:00
parent a30ec115e3
commit 1b6aa84f9d
2 changed files with 4 additions and 0 deletions

3
sepolicy/installd.te Normal file
View File

@ -0,0 +1,3 @@
# Allow querying of asec size on SD card
allow installd sdcard_external:dir { search };
allow installd sdcard_external:file { getattr };

View File

@ -11,5 +11,6 @@ BOARD_SEPOLICY_UNION += \
file_contexts \
fs_use \
genfs_contexts \
installd.te \
seapp_contexts \
mac_permissions.xml