Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8640343f authored by Vova Sharaienko's avatar Vova Sharaienko
Browse files

Stats: new sepolicy for the AIDL service

This allows the pixelstats_vendor communicate with new AIDL IStats service via ServiceManager

Bug: 178859845
Bug: 181778620
Test: Build, flash, and logcat -s "pixelstats_vendor"
Change-Id: I685495d6faca0ea69c0517c18e6fa5b897b8e2f5
parent c9ff009b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -14,6 +14,9 @@ allow pixelstats_vendor hal_pixelstats_hwservice:hwservice_manager find;
allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;
binder_call(pixelstats_vendor, statsd)

binder_use(pixelstats_vendor)
allow pixelstats_vendor fwk_stats_service:service_manager find;

allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
r_dir_file(pixelstats_vendor, sysfs_batteryinfo)
# UeventListener