Merge tag 'android-15.0.0_r6' of https://android.googlesource.com/platform/hardware/google/pixel-sepolicy into HEAD
Android 15.0.0 Release 6 (AP4A.241205.013)
Change-Id: If5c72e7aec1904bd40f06e3044d62688c22ab1fe
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssgAKCRDorT+BmrEO
# eMpjAKCEpC7oa/tot4+roZLIzMwvAQUbgwCeN/UsL/C73pGepMIoF5r3bO1Q2LM=
# =qybG
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 05 Dec 2024 11:44:02 PM CET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Can't check signature: No public key
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)