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

Skip to content
Commit 5b284377 authored by jiayanhong's avatar jiayanhong Committed by Jack Yu
Browse files

Fixed delay time overflow issue

If locale tracker keeps failing to get the cell info
(e.g. in no coverage area), and the fail count exceeds
a certain number (approximately 8 hours), the exponentionaly
grown retry delay time will overflow. Then the retry delay
time will be incorrectly calculated as the minimum retry
time, which is 2 seconds. This can cause significant
power consumption issue.

Fixed it by limiting the maximum fail count to 30.

Test: manual + unit test
Bug: 116514046
Change-Id: I6e35e983165a23eff3169c5e234ef9bdebb65c68
parent 272b083b
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