summaryrefslogtreecommitdiff
path: root/turbo_adapter
diff options
context:
space:
mode:
Diffstat (limited to 'turbo_adapter')
-rw-r--r--turbo_adapter/turbo_adapter.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/turbo_adapter/turbo_adapter.te b/turbo_adapter/turbo_adapter.te
index 63cb193..ad405c7 100644
--- a/turbo_adapter/turbo_adapter.te
+++ b/turbo_adapter/turbo_adapter.te
@@ -9,6 +9,10 @@ app_domain(turbo_adapter)
# To use ServiceManager
allow turbo_adapter app_api_service:service_manager find;
+# To find and bind Google Battery HAL
+allow turbo_adapter hal_googlebattery_service:service_manager find;
+binder_call(turbo_adapter, hal_googlebattery)
+
# To find and call hal_power_default so turbo can obtain the service extension (IPowerExt)
hal_client_domain(turbo_adapter, hal_power)