summaryrefslogtreecommitdiff
path: root/thermal/utils/thermal_watcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thermal/utils/thermal_watcher.cpp')
-rw-r--r--thermal/utils/thermal_watcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal/utils/thermal_watcher.cpp b/thermal/utils/thermal_watcher.cpp
index d8bc92e1..f8ca2c2b 100644
--- a/thermal/utils/thermal_watcher.cpp
+++ b/thermal/utils/thermal_watcher.cpp
@@ -401,7 +401,7 @@ void ThermalWatcher::registerFilesToWatchNl(const std::set<std::string> &sensors
bool ThermalWatcher::startWatchingDeviceFiles() {
if (cb_) {
- auto ret = this->run("FileWatcherThread", ::android::PRIORITY_HIGHEST);
+ auto ret = this->run("FileWatcherThread", -10);
if (ret != ::android::NO_ERROR) {
LOG(ERROR) << "ThermalWatcherThread start fail";
return false;