Merge "Allow vndservicemanager to self-register." am: 48eed15c35

Change-Id: I29a24050637dd352139a5aed75ce0567abb962a8
This commit is contained in:
Automerger Merge Worker 2020-03-06 17:57:19 +00:00
commit cb31f479c5
4 changed files with 6 additions and 0 deletions

View file

@ -82,6 +82,7 @@
art_apex_dir
rebootescrow_hal_prop
service_manager_service
service_manager_vndservice
simpleperf
snapshotctl_log_data_file
socket_hook_prop
@ -111,4 +112,5 @@
vendor_install_recovery
vendor_install_recovery_exec
vendor_socket_hook_prop
vendor_socket_hook_prop
virtual_ab_prop))

View file

@ -1 +1,2 @@
type service_manager_vndservice, vndservice_manager_type;
type default_android_vndservice, vndservice_manager_type;

View file

@ -1 +1,2 @@
manager u:object_r:service_manager_vndservice:s0
* u:object_r:default_android_vndservice:s0

View file

@ -13,6 +13,8 @@ allow vndservicemanager vndbinder_device:chr_file rw_file_perms;
# Read vndservice_contexts
allow vndservicemanager vndservice_contexts_file:file r_file_perms;
add_service(vndservicemanager, service_manager_vndservice)
# Start lazy services
set_prop(vndservicemanager, ctl_interface_start_prop)