• Zachary Giles's avatar
    Adding an abs() around the distance. · 4f5cb2e1
    Zachary Giles authored
    I saw negative distances when I was inside the stationary area, but
    moving around within it.. perhaps a few houses over etc. Walking etc.
    If I moved farther away, it eventually updated but more becaue it had
    a significant update, such as driving miles.
    This abs around the distance allows the less-than if statement to work.
    Been using it for all day across several cities with great and accurate
    updates.
    Similar routines over the last few days were highly inaccurate and
    behind.
    4f5cb2e1
LocationUpdateService.java 31.9 KB