From d59d96c47623cb0a307d5e69206c7d258e77f474 Mon Sep 17 00:00:00 2001 From: Gabriel Biren Date: Mon, 7 Feb 2022 20:37:03 +0000 Subject: [PATCH] Add rule to allow servicemanager to call the hostapd service. Needed in order to allow hostapd to receive a callback from servicemanager when the active service count changes. Bug: 213475388 Test: atest VtsHalHostapdTargetTest Change-Id: I3a5ec8219d23227fab85325f90d8b4aee6c76973 --- public/hal_wifi_hostapd.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/hal_wifi_hostapd.te b/public/hal_wifi_hostapd.te index b508aa569..eeb72babb 100644 --- a/public/hal_wifi_hostapd.te +++ b/public/hal_wifi_hostapd.te @@ -5,7 +5,7 @@ binder_call(hal_wifi_hostapd_server, hal_wifi_hostapd_client) hal_attribute_hwservice(hal_wifi_hostapd, hal_wifi_hostapd_hwservice) hal_attribute_service(hal_wifi_hostapd, hal_wifi_hostapd_service) -binder_call(hal_wifi_hostapd_server, servicemanager) +binder_use(hal_wifi_hostapd_server) allow hal_wifi_hostapd_server dumpstate:fifo_file write;