Revert sepolicy from "thermal: recommend throttling at low temps"
This reverts sepolicy from commit 91c2b8ed0e37a5f7e2aa131378134d5159d15599.
Reason for revert: get rid of the hack which is not a right solution for BCL
Bug: 80202800
Bug: 117518230
Test: lshal debug "android.hardware.thermal@1.1::IThermal/default"
and check threshold
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibc663edd00ca0db82616637c61538826c5753d86
Merged-In: Ibc663edd00ca0db82616637c61538826c5753d86
(cherry picked from commit dc2b452202bcf2ebf045ea0639e45fd0d4a0c4ec)
diff --git a/vendor/qcom/common/hal_thermal_default.te b/vendor/qcom/common/hal_thermal_default.te
index 0d56bc1..608cda0 100644
--- a/vendor/qcom/common/hal_thermal_default.te
+++ b/vendor/qcom/common/hal_thermal_default.te
@@ -2,13 +2,6 @@
allow hal_thermal_default sysfs_thermal:file { getattr open read };
allow hal_thermal_default sysfs_thermal:lnk_file read;
-allow hal_thermal_default sysfs_batteryinfo:dir search;
-allow hal_thermal_default sysfs_batteryinfo:file r_file_perms;
-allow hal_thermal_default sysfs_batteryinfo:lnk_file read;
-allow hal_thermal_default sysfs_msm_subsys:dir search;
-allow hal_thermal_default sysfs_msm_subsys:file r_file_perms;
-allow hal_thermal_default sysfs_msm_subsys:lnk_file read;
-
allow hal_thermal_default proc_stat:file { getattr open read };
# read thermal_config
get_prop(hal_thermal_default, vendor_thermal_prop)