Stats: new sepolicy for the AIDL service
This allows the ramdump app to communicate with new AIDL IStats service via ServiceManager
Bug: 181351417
Test: Build, flash, and logcat | grep ramdump
Change-Id: I99d10f20da1d31939758eec7966392fa9e6a5ff7
diff --git a/ramdump/ramdump.te b/ramdump/ramdump.te
index d8f0335..30e015c 100644
--- a/ramdump/ramdump.te
+++ b/ramdump/ramdump.te
@@ -29,6 +29,8 @@
get_prop(ramdump, hwservicemanager_prop)
allow ramdump fwk_stats_hwservice:hwservice_manager find;
binder_call(ramdump, stats_service_server)
+ allow ramdump fwk_stats_service:service_manager find;
+ binder_use(ramdump)
# To implement fusefs (ramdumpfs) under /mnt/vendor/ramdump.
allow ramdump fuse:filesystem relabelfrom;