Commit b587113d authored by Chris Scott's avatar Chris Scott

when DetectedActivity is UNKNOWN or TILTING, don't return--just set use current state

parent 57574cc3
...@@ -275,7 +275,7 @@ public class BackgroundGeolocationPlugin extends CordovaPlugin implements Locati ...@@ -275,7 +275,7 @@ public class BackgroundGeolocationPlugin extends CordovaPlugin implements Locati
break; break;
case DetectedActivity.UNKNOWN: case DetectedActivity.UNKNOWN:
case DetectedActivity.TILTING: case DetectedActivity.TILTING:
// We don't let these ActivityType affect movement/stationary state. nowMoving = isMoving;
return; return;
} }
......
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