Merge "WLC: Add hal_wireless_charger policies for systemui"

This commit is contained in:
Ken Yang 2023-02-13 08:13:26 +00:00 committed by Android (Google) Code Review
commit c6bd3ad477
2 changed files with 6 additions and 0 deletions

View file

@ -3,3 +3,5 @@ type hal_wireless_charger_exec, exec_type, vendor_file_type, file_type;
allow hal_wireless_charger dumpstate:fd use; allow hal_wireless_charger dumpstate:fd use;
allow hal_wireless_charger dumpstate:fifo_file rw_file_perms; allow hal_wireless_charger dumpstate:fifo_file rw_file_perms;
binder_call(hal_wireless_charger, systemui_app)

View file

@ -1,3 +1,7 @@
type systemui_app, domain; type systemui_app, domain;
app_domain(systemui_app) app_domain(systemui_app)
allow systemui_app app_api_service:service_manager find; allow systemui_app app_api_service:service_manager find;
# WLC
allow systemui_app hal_wireless_charger_service:service_manager find;
binder_call(systemui_app, hal_wireless_charger)