commit | cc2801296dd1829196fcaa7b4018e372121e36e5 | [log] [tgz] |
---|---|---|
author | Christine Franks <christyfranks@google.com> | Wed Nov 30 09:33:07 2016 -0800 |
committer | Christine Franks <christyfranks@google.com> | Mon Dec 05 11:19:42 2016 -0800 |
tree | fb0df64093c66e03334e9594efb4f79376407819 | |
parent | 52ae3289fba02b03b7cb74afad628b9c80253045 [diff] |
TwilightService: Ignore (0,0) coordinate location updates Location providers may erroneously return (0.0, 0.0) when they fail to determine the device's location. These location updates can be safely ignored since the chance of a user actually being at these coordinates is quite low. Bug: 31009261 Test: added TwilightServiceTest; both tests pass Change-Id: Ie9d7d10f81ade9b0be10f98ed74978539efaa658