Add Sepolicy for LyricConfigProvider to use CameraService
Bug: 280340307 Test: LyricConfigProvider can reach out to CameraService. Change-Id: I9b1c7f82fdb1cea09b5c520684574c36be8cd15d
This commit is contained in:
parent
bdccd2c97b
commit
7c32a87d82
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,8 @@ app_domain(vendor_pbcs_app);
|
||||||
dontaudit vendor_pbcs_app system_app_data_file:dir *;
|
dontaudit vendor_pbcs_app system_app_data_file:dir *;
|
||||||
|
|
||||||
allow vendor_pbcs_app app_api_service:service_manager find;
|
allow vendor_pbcs_app app_api_service:service_manager find;
|
||||||
|
# Allow PBCS to find Camera Service.
|
||||||
|
allow vendor_pbcs_app cameraserver_service:service_manager find;
|
||||||
|
|
||||||
# Allow PBCS to add the ServiceBinder service to ServiceManager.
|
# Allow PBCS to add the ServiceBinder service to ServiceManager.
|
||||||
add_service(vendor_pbcs_app, vendor_camera_binder_service);
|
add_service(vendor_pbcs_app, vendor_camera_binder_service);
|
||||||
|
@ -16,4 +18,3 @@ binder_call(vendor_pbcs_app, hal_camera_default);
|
||||||
# Allow PBCS to read debug system properties of the form vendor.camera.pbcs.debug.*
|
# Allow PBCS to read debug system properties of the form vendor.camera.pbcs.debug.*
|
||||||
# and persist.vendor.camera.pbcs.debug.*
|
# and persist.vendor.camera.pbcs.debug.*
|
||||||
get_prop(vendor_pbcs_app, vendor_camera_pbcs_debug_prop);
|
get_prop(vendor_pbcs_app, vendor_camera_pbcs_debug_prop);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue