Commonize pixelstats uevent sepolicies into pixel-specific sepolicy folder
Bug: 171793497
Test: Ensure there are no sepolicy violations for this device
Change-Id: I6c3e519cd7b6e5203740012262e274d5def8c4c2
diff --git a/vendor/google/pixelstats_vendor.te b/vendor/google/pixelstats_vendor.te
index c232ec4..4135269 100644
--- a/vendor/google/pixelstats_vendor.te
+++ b/vendor/google/pixelstats_vendor.te
@@ -18,11 +18,8 @@
unix_socket_connect(pixelstats_vendor, chre, chre)
allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
-allow pixelstats_vendor sysfs_batteryinfo:dir search;
-allow pixelstats_vendor sysfs_batteryinfo:file r_file_perms;
allow pixelstats_vendor sysfs_pixelstats:dir search;
allow pixelstats_vendor sysfs_pixelstats:file rw_file_perms;
-allow pixelstats_vendor self:netlink_kobject_uevent_socket { create getopt setopt bind read };
# wlc
allow pixelstats_vendor sysfs_wlc:dir search;