pixelstats: allow to bind stat service
Bug: 146053177
Bug: 146053658
Bug: 149844577
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I319058e0a309e3ae71a1eb543d92840ee17b47b7
diff --git a/pixelstats/pixelstats_vendor.te b/pixelstats/pixelstats_vendor.te
index f6d57ab..67defe0 100644
--- a/pixelstats/pixelstats_vendor.te
+++ b/pixelstats/pixelstats_vendor.te
@@ -3,3 +3,6 @@
allow pixelstats_vendor sysfs_fs_f2fs:dir search;
allow pixelstats_vendor sysfs_fs_f2fs:file r_file_perms;
get_prop(pixelstats_vendor, boottime_public_prop)
+
+allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;
+binder_call(pixelstats_vendor, stats_service_server)