diff options
| author | Wei Wang <wvw@google.com> | 2018-10-10 15:03:05 -0700 |
|---|---|---|
| committer | Wei Wang <wvw@google.com> | 2018-11-08 22:30:05 +0000 |
| commit | 1542b2a530a5e8d68393462890ec5742eb2b18bf (patch) | |
| tree | 1dfdd3ddebce3830cdea170755c6940d38c7a11b | |
| parent | 83473beaa6f00553ec1ece6de490a02ff1124b6c (diff) | |
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)
| -rw-r--r-- | vendor/qcom/common/hal_thermal_default.te | 7 |
1 files changed, 0 insertions, 7 deletions
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:dir { open read search }; 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) |
