diff --git a/health/file_contexts b/health/file_contexts deleted file mode 100644 index f49f65e0..00000000 --- a/health/file_contexts +++ /dev/null @@ -1 +0,0 @@ -/vendor/bin/hw/android\.hardware\.health-service\.zuma u:object_r:hal_health_default_exec:s0 diff --git a/legacy/whitechapel_pro/hal_health_default.te b/legacy/whitechapel_pro/hal_health_default.te deleted file mode 100644 index 0f7bb8d9..00000000 --- a/legacy/whitechapel_pro/hal_health_default.te +++ /dev/null @@ -1,17 +0,0 @@ -allow hal_health_default mnt_vendor_file:dir search; -allow hal_health_default persist_file:dir search; - -set_prop(hal_health_default, vendor_battery_defender_prop) - -# Access to /sys/devices/platform/13200000.ufs/* -allow hal_health_default sysfs_scsi_devices_0000:dir r_dir_perms; -allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms; - -allow hal_health_default fwk_stats_service:service_manager find; -binder_use(hal_health_default) - -allow hal_health_default sysfs_wlc:dir search; -allow hal_health_default sysfs_batteryinfo:file w_file_perms; -allow hal_health_default sysfs_thermal:dir search; -allow hal_health_default sysfs_thermal:file w_file_perms; -allow hal_health_default thermal_link_device:dir search; diff --git a/vendor/file_contexts b/vendor/file_contexts index 495411e6..6696b0f9 100644 --- a/vendor/file_contexts +++ b/vendor/file_contexts @@ -5,6 +5,7 @@ /vendor/bin/modem_svc_sit u:object_r:modem_svc_sit_exec:s0 /vendor/bin/cbd u:object_r:cbd_exec:s0 /vendor/bin/hw/rild_exynos u:object_r:rild_exec:s0 +/vendor/bin/hw/android\.hardware\.health-service\.zuma u:object_r:hal_health_default_exec:s0 # Data /data/vendor/log/rfsd(/.*)? u:object_r:vendor_rfsd_log_file:s0