diff options
-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) |