commit | 78eb48e53600198b04517210bc23977e59484e2c | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Mon Feb 26 20:31:04 2018 -0800 |
committer | Nathan Harold <nharold@google.com> | Tue Feb 27 17:28:05 2018 -0800 |
tree | e65c2c54db1574242a12e6530403bf8b70caa396 | |
parent | 3ffbf86e1e4701ea316146c1686f06193166c2a6 [diff] |
Set CDMA Location to Invalid if on Null Island If the reported CDMA location is ~= (0, 0), which is in the middle of the Gulf of Guinea, assert that there are no CDMA cell towers within range (there are not) and force the location to a saner default value of Integer.MAX_VALUE which is out of the range of valid lats+longs. Bug: 32364031 Test: runtest frameworks-telephony Change-Id: I3f50054dd37cf7cef56b1bd16c3313c02da34c31