Skip to content
Snippets Groups Projects
Commit aeada247 authored by Jaekyun Seok's avatar Jaekyun Seok
Browse files

Allow installd to read vendor_overlay_file

installd needs to check whether idmap is outdated or not compared to
vendor overlay file.

Test: building succeeded and tested on sailfish.
Bug: 37179531
Change-Id: I934c1ae39e3f806bca1e3d68cf8190addeebb499
parent 456fa279
No related branches found
No related tags found
No related merge requests found
......@@ -658,6 +658,7 @@ full_treble_only(`
-appdomain
-idmap
-init
-installd
-system_server
-zygote
} vendor_overlay_file:dir { getattr open read search };
......@@ -667,6 +668,7 @@ full_treble_only(`
-appdomain
-idmap
-init
-installd
-system_server
-zygote
} vendor_overlay_file:{ file lnk_file } r_file_perms;
......
......@@ -29,6 +29,8 @@ r_dir_file(installd, rootfs)
r_dir_file(installd, system_file)
# Scan through APKs in /vendor/app
r_dir_file(installd, vendor_app_file)
# Scan through Runtime Resource Overlay APKs in /vendor/overlay
r_dir_file(installd, vendor_overlay_file)
# Get file context
allow installd file_contexts_file:file r_file_perms;
# Get seapp_context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment