ac1a6d440c
hal_*_default daemons whose policy is in common/device-agnostic policy are provided by the vendor image (see vendor/file_contexts). Thus, their policy should also reside in the vendor image, rather than in the system image. This means their policy should live in the vendor subdirectory of this project. Test: Device boots and appears to work Bug: 34135607 Bug: 34170079 Change-Id: I6613e43733e03d4a3d4726f849732d903e024016
10 lines
338 B
Text
10 lines
338 B
Text
type hal_gnss_default, domain;
|
|
hal_impl_domain(hal_gnss_default, hal_gnss)
|
|
|
|
type hal_gnss_default_exec, exec_type, file_type;
|
|
init_daemon_domain(hal_gnss_default)
|
|
|
|
# Read access to system files for HALs in
|
|
# /{system,vendor,odm}/lib[64]/hw/ in order
|
|
# to be able to open the hal implementation .so files
|
|
r_dir_file(hal_gnss, system_file)
|