summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorVova Sharaienko <sharaienko@google.com>2021-03-25 01:36:43 +0000
committerVova Sharaienko <sharaienko@google.com>2021-03-25 01:36:43 +0000
commit9e3a68b03cf055d28ce47ffd19b0b0b1a0dacc9d (patch)
treef1f0903d75b3ac30ead4faf5735685ffb00f32fb /vendor
parent5672357d0368c2db0fe29c118a26165e9a090c4b (diff)
downloadsunfish-sepolicy-9e3a68b03cf055d28ce47ffd19b0b0b1a0dacc9d.tar.gz
hal_health_default: updated sepolicy
This allows the hal_health_default to access AIDL Stats service Bug: 181351177 Test: Build, flash, boot & and logcat | grep "hal_health_default" Change-Id: I35fe6fbfa6d098a05286785449fa51223f14563a
Diffstat (limited to 'vendor')
-rw-r--r--vendor/google/hal_health_default.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/google/hal_health_default.te b/vendor/google/hal_health_default.te
index 42a3aa4..d320e81 100644
--- a/vendor/google/hal_health_default.te
+++ b/vendor/google/hal_health_default.te
@@ -5,6 +5,9 @@ set_prop(hal_health_default, vendor_shutdown_prop)
set_prop(hal_health_default, vendor_battery_defender_prop)
allow hal_health_default fwk_stats_hwservice:hwservice_manager find;
+allow hal_health_default fwk_stats_service:service_manager find;
+binder_use(hal_health_default)
+
allow hal_health_default persist_file:dir search;
allow hal_health_default persist_battery_file:file create_file_perms;
allow hal_health_default persist_battery_file:dir rw_dir_perms;