Move turbo_adapter policy out of googlebattery
We want to include googlebattery policies but not turbo_adapter.
Change-Id: I33d477a176f9b15c86b80e0a060f4cfbc0339a54
diff --git a/googlebattery/turbo_adapter.te b/googlebattery/turbo_adapter.te
deleted file mode 100644
index 2794fd1..0000000
--- a/googlebattery/turbo_adapter.te
+++ /dev/null
@@ -1,3 +0,0 @@
-# To find and bind Google Battery HAL
-allow turbo_adapter hal_googlebattery_service:service_manager find;
-binder_call(turbo_adapter, hal_googlebattery)
diff --git a/turbo_adapter/private/turbo_adapter.te b/turbo_adapter/private/turbo_adapter.te
index 5eb76c1..ef54a02 100644
--- a/turbo_adapter/private/turbo_adapter.te
+++ b/turbo_adapter/private/turbo_adapter.te
@@ -9,6 +9,10 @@
# To use ServiceManager
allow turbo_adapter app_api_service:service_manager find;
+# To find and bind Google Battery HAL
+allow turbo_adapter hal_googlebattery_hwservice:hwservice_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)