diff options
author | Michael Bestas <mkbestas@gmail.com> | 2022-08-02 23:21:51 +0300 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2024-01-01 09:42:40 +0800 |
commit | 99da9b9098d0ef1e5a32fd871bb7f12c20032c0a (patch) | |
tree | 0b951559c95ad4be41d1923f9d94cd92bc597548 | |
parent | 5bdf5b6c68a0ca97e85f3a7dd07e2dd6229b0e86 (diff) |
Move turbo_adapter policy out of googlebatteryumineko
We want to include googlebattery policies but not turbo_adapter.
Change-Id: I33d477a176f9b15c86b80e0a060f4cfbc0339a54
-rw-r--r-- | googlebattery/turbo_adapter.te | 3 | ||||
-rw-r--r-- | turbo_adapter/turbo_adapter.te | 4 |
2 files changed, 4 insertions, 3 deletions
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/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) |