[go: nahoru, domu]

Commonize pixelstats uevent sepolicies into pixel-specific sepolicy folder am: 67a809281d am: 4d8888b66c am: 25d8b6025c

Original change: https://android-review.googlesource.com/c/device/google/bonito-sepolicy/+/1646261

Change-Id: Id6df09be017d8512d9ef20ffbffe1726a823f3dc
diff --git a/vendor/google/pixelstats_vendor.te b/vendor/google/pixelstats_vendor.te
index 08cedbf..4aba1be 100644
--- a/vendor/google/pixelstats_vendor.te
+++ b/vendor/google/pixelstats_vendor.te
@@ -20,11 +20,8 @@
 allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
 allow pixelstats_vendor sysfs_mmc:dir search;
 allow pixelstats_vendor sysfs_mmc: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 };
 allow pixelstats_vendor sysfs_msm_subsys:dir search;
 
 allow pixelstats_vendor sysfs_usb_c:dir   search;