aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2015-10-19 13:00:46 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2015-10-19 13:33:23 -0700
commitac8b5750b08edf4d476b490dcbeef3159b7b7ea1 (patch)
tree6b9485c9f308318d43465fc0fbfa7d4ca4f33287
parent1c38b8a225db3fa3f12e4892985c48e369550235 (diff)
downloadandroid_external_sepolicy-ac8b5750b08edf4d476b490dcbeef3159b7b7ea1.tar.gz
android_external_sepolicy-ac8b5750b08edf4d476b490dcbeef3159b7b7ea1.tar.bz2
android_external_sepolicy-ac8b5750b08edf4d476b490dcbeef3159b7b7ea1.zip
untrusted_apps: Allow untrusted apps to find healthd_service.
This allows apps to find the healthd service which is used to query battery properties. Bug: 24759218 Change-Id: I72ce5a28b2ffd57aa424faeb2d039b6c92f9597d Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
-rw-r--r--untrusted_app.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/untrusted_app.te b/untrusted_app.te
index 693a13c..94396cf 100644
--- a/untrusted_app.te
+++ b/untrusted_app.te
@@ -81,6 +81,7 @@ allow untrusted_app cache_file:dir create_dir_perms;
allow untrusted_app cache_file:file create_file_perms;
allow untrusted_app drmserver_service:service_manager find;
+allow untrusted_app healthd_service:service_manager find;
allow untrusted_app mediaserver_service:service_manager find;
allow untrusted_app nfc_service:service_manager find;
allow untrusted_app radio_service:service_manager find;