exo: updated sepolicy

This allows the Exo to access AIDL Stats service

Bug: 181892307
Test: Build, flash, boot & and logcat | grep "IStats"
Change-Id: I6ae1c37505b312617376bc3c954720c8a1f223d2
This commit is contained in:
Vova Sharaienko 2021-04-02 00:45:08 +00:00
parent 52a4f701c1
commit ceafb82c02
2 changed files with 5 additions and 1 deletions

View file

@ -9,11 +9,13 @@ allow exo_app cameraserver_service:service_manager find;
allow exo_app mediaserver_service:service_manager find;
allow exo_app radio_service:service_manager find;
allow exo_app fwk_stats_hwservice:hwservice_manager find;
allow exo_app fwk_stats_service:service_manager find;
allow exo_app mediametrics_service:service_manager find;
allow exo_app gpu_device:dir search;
allow exo_app uhid_device:chr_file rw_file_perms;
binder_call(exo_app, statsd)
binder_use(exo_app)
get_prop(exo_app, device_config_runtime_native_boot_prop)

View file

@ -1,4 +1,4 @@
type exo_wirecutter_app, domain;
type exo_wirecutter_app, domain, coredomain;
app_domain(exo_wirecutter_app)
@ -6,3 +6,5 @@ allow exo_wirecutter_app app_api_service:service_manager find;
allow exo_wirecutter_app fwk_stats_hwservice:hwservice_manager find;
allow exo_wirecutter_app gpu_device:dir search;
binder_call(exo_wirecutter_app, statsd)
allow exo_wirecutter_app fwk_stats_service:service_manager find;
binder_use(exo_wirecutter_app)