Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5ea5d77a authored by Richard Chang's avatar Richard Chang
Browse files

ThermalManagerService: fix different system clock comparison

ThermalManagerService tried to compare
SystemClock.elapsedRealtime() and System.currentTimeMillis().
It may lead to more unnecessary update tasks.

Ref: https://developer.android.com/reference/android/os/SystemClock
Add testcase testTemperatureWatcherGetForecastUpdate

Bug: 203028173
Test: atest ThermalManagerServiceTest
Change-Id: Ic0c579cb124fd8d86bff9f6d9e21e33ca9d9f0ff
parent ef86923d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment