Snap for 8983512 from 7447cd3664 to tm-qpr1-release

Change-Id: Ib45e442de3db664372e8a1885671b6a897d95e6c
This commit is contained in:
Android Build Coastguard Worker 2022-08-23 23:03:28 +00:00
commit c44c25cad4
2 changed files with 14 additions and 0 deletions

View file

@ -970,6 +970,19 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/cdev-by-name/chg_mdis/cur_state
chown system system /dev/thermal/cdev-by-name/usbc-port/cur_state
on charger
# Use charger thermal config
setprop vendor.thermal.config "thermal_info_config_charge.json"
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1
# Create thermal symlink in off charging mode
mkdir /dev/thermal 0750 system system
mkdir /dev/thermal/tz-by-name 0750 system system
mkdir /dev/thermal/cdev-by-name 0750 system system
start vendor.thermal.symlinks
on property:vendor.disable.bcl.control=1
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0

View file

@ -57,6 +57,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
UFS_ERR_PATH(auto_hibern8_err_count)
},
.BlockStatsLength = BLOCK_STATS_LENGTH,
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
};
const struct UeventListener::UeventPaths ueventPaths = {