- Introduce service_context for ILyricConfigProvider service - Allow adding the ILyricConfigProvider to the service manager. - Allow HAL to find ILyricConfigProvider from servicemanager - Allow all proceses in com.google.pixel.services:* to have the same domain as the app (vendor_pbcs_app) -- We'll be running services in their own processes so this is needed. - TODO: binder_call(vendor_pbcs_app, vendor_pcs_app); Allow PBCS appdomain to make binder calls into PCS appdomain after ag/24030784 lands. Bug: 280340307 Test: We can successfully start and register the LyricConfigProvider service with the servicemanager. Change-Id: Ia0a74065e98761e48aa041bf7f2f34188017cee4
15 lines
509 B
Plaintext
15 lines
509 B
Plaintext
type vendor_pbcs_app, domain, coredomain;
|
|
|
|
app_domain(vendor_pbcs_app);
|
|
|
|
dontaudit vendor_pbcs_app system_app_data_file:dir *;
|
|
|
|
allow vendor_pbcs_app app_api_service:service_manager find;
|
|
|
|
# Allow PBCS to add the ServiceBinder service to ServiceManager.
|
|
add_service(vendor_pbcs_app, vendor_camera_binder_service);
|
|
# Allow PBCS to add the LyricConfigProvider service to ServiceManager.
|
|
add_service(vendor_pbcs_app, vendor_camera_lyricconfigprovider_service);
|
|
|
|
binder_call(vendor_pbcs_app, hal_camera_default);
|