Closed Bug 1022463 Opened 7 years ago Closed 7 years ago
Use 10 seconds as the max time to wait for GPS data before using MLS
Currently we are seeing fluxuatoin between GPS derived data and MLS data due to a very short timeout (kDefaultPeriod == 1s). Basically what is happening is GPS sometimes takes more than 1 second to return a position. In this case, we might switch back to providing a MLS location. We should use something longer than 1s. I have been playing around with 5-10 seconds and do not see this flux problem any longer. I am picking 10s mostly because I want to give GPS as much possible time before hititng MLS for a much less accurate position.
Attachment #8436645 - Flags: review?(josh) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Doug: did you forget to land this 1.4+ fix on the mozilla-b2g30 branch?
Doug: Ryan says you need to rebase this patch for 1.4.
working on rebasing.
You need to log in before you can comment on or make changes to this bug.