summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2012-07-11 10:26:13 -0700
committerNick Pelly <npelly@google.com>2012-07-16 12:18:52 -0700
commite0fd693c6098f59004f9e96ad75c058e26c337b0 (patch)
treed015b05584ab8cb4feab93fe8bdbedcbad7502fa /tools/aapt2/java/JavaClassGenerator_test.cpp
parent357d9cb861e05c514acba8cc0a8fc5ef70e4a356 (diff)
Improve geofencing: throttle location updates with distance to fence.
Previously any geofence (proximity alert) would turn the GPS on at full rate. Now, we modify the GPS interval with the distance to the nearest geofence. A speed of 100m/s is assumed to calculate the next GPS update. Also o Major refactor of geofencing code, to make it easier to continue to improve. o Discard proximity alerts when an app is removed. o Misc cleanup of nearby code. There are other upcoming changes that make this a good time for some house-keeping. TODO: The new geofencing heuristics are much better than before, but still relatively naive. The next steps could be: - Improve boundary detection - Improve update thottling for large geofences - Consider velocity when throttling Change-Id: Ie6e23d2cb2b931eba5d2a2fc759543bb96e2f7d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions