diff options
author | gomo <gomo@google.com> | 2017-12-13 19:04:12 -0800 |
---|---|---|
committer | gomo <gomo@google.com> | 2017-12-15 17:23:30 -0800 |
commit | 300b24041e3a59ef886f1197fd7efa542bf2a26a (patch) | |
tree | f4de52127b9aad926d7d9f0d96de677dd957c6a0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1f82396299a6a73ab1bcfe72f07e23b60be88ff3 (diff) |
Allow interval updating when no GPS fix & scheduling not supported.
Since Android-L we have the following isse for GPS chipsets that do not
have GPS_CAPABILITY_SCHEDULING:
1) A location request is ongoing with an interval < 1 minute that
mFixInterval < NO_FIX_TIMEOUT. In which case, the TimeOutIntent will
not be set
2) A new location request arrives with a large interval where we want
the TimeOutIntent to kick in if needed
3) The above scenario has to happen in GPS signal denied environment
with no fix possible as a single reported location will cause hibernate()
to be called and engine to be stopped
Bug:68827168
Test: Current tests pass.
Change-Id: I4b3abf4b6f91a8eeb119bdbdb19f2fb0ed9e28cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions