Commit ab08e407 authored by Chris Scott's avatar Chris Scott

Remove creating stationary-region in onPaceChange, since setPace will set the...

Remove creating stationary-region in onPaceChange, since setPace will set the acquisition-process in motion.
parent 579c78bf
...@@ -196,9 +196,6 @@ ...@@ -196,9 +196,6 @@
UIApplicationState state = [[UIApplication sharedApplication] applicationState]; UIApplicationState state = [[UIApplication sharedApplication] applicationState];
if (state == UIApplicationStateBackground) { if (state == UIApplicationStateBackground) {
[self setPace:isMoving]; [self setPace:isMoving];
if (!isMoving) {
[self startMonitoringStationaryRegion:[locationManager location]];
}
} }
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment