summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2018-02-26 20:31:04 -0800
committerNathan Harold <nharold@google.com>2018-02-27 17:28:05 -0800
commit78eb48e53600198b04517210bc23977e59484e2c (patch)
treee65c2c54db1574242a12e6530403bf8b70caa396 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3ffbf86e1e4701ea316146c1686f06193166c2a6 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions