Merge "Pixelstats-related permissions" into qt-dev
diff --git a/vendor/google/hal_fingerprint.te b/vendor/google/hal_fingerprint.te
index cc53b02..0f69d8b 100644
--- a/vendor/google/hal_fingerprint.te
+++ b/vendor/google/hal_fingerprint.te
@@ -1,5 +1,6 @@
-allow hal_fingerprint_default hal_pixelstats_hwservice:hwservice_manager find;
-allow hal_fingerprint_default pixelstats_system:binder call;
+get_prop(hal_fingerprint_default, hwservicemanager_prop)
+allow hal_fingerprint_default fwk_stats_hwservice:hwservice_manager find;
+binder_call(hal_fingerprint_default, statsd)
allow hal_fingerprint input_device:dir r_dir_perms;
allow hal_fingerprint input_device:chr_file r_file_perms;
diff --git a/vendor/google/pixelstats_vendor.te b/vendor/google/pixelstats_vendor.te
index 3eb91b2..7f3e776 100644
--- a/vendor/google/pixelstats_vendor.te
+++ b/vendor/google/pixelstats_vendor.te
@@ -21,5 +21,5 @@
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 setopt bind read };
+allow pixelstats_vendor self:netlink_kobject_uevent_socket { create getopt setopt bind read };
allow pixelstats_vendor sysfs_msm_subsys:dir search;