android
android copied to clipboard
problem using setConfiguration to change mode from move to significant
I'm using setConfiguration to go from
'monitoring': 2, 'moveModeLocatorInterval': 60
to
'monitoring': 1, 'locatorDisplacement': 100, 'locatorInterval': 240
I would expect to get a location update no faster than every 240 seconds only when distance moved is greater than 100m
In fact, I am getting updates every 60sec (approx). i.e. the moveModeLocatorInterval. The distance moved is minimal, a metre or two.
This sort of update usually works OK.
Am I misunderstanding the doc? The significant mode/android section mentions moveModeLocatorInterval, but only to say its relevant for move mode (?).
Attached log shows config update and three subsequent location updates.
Thanks