Merge branch 'bg-fused-done' of s416084/find-my-tutor-android into develop

This commit is contained in:
Mieszko Wrzeszczyński 2019-01-03 18:50:47 +00:00 committed by Gogs
commit 4d921f7321

View File

@ -190,7 +190,7 @@ public class BackgroundLocalizationService extends Service {
.map(MapUtils::checkIfCoordinateIsValid).takeWhile(s -> !s).toList().size() == coordinatesHistory.size(); .map(MapUtils::checkIfCoordinateIsValid).takeWhile(s -> !s).toList().size() == coordinatesHistory.size();
Boolean shouldAbbreviateTimeInterval = Stream.of(coordinatesHistory). Boolean shouldAbbreviateTimeInterval = Stream.of(coordinatesHistory).
map(MapUtils::checkIfCoordinateIsValid).toList().get(coordinatesHistory.size() - 1); map(MapUtils::checkIfCoordinateIsValid).toList().size() > 0;
if (shouldExtendTimeInterval) { if (shouldExtendTimeInterval) {
notify_interval = notify_interval_outside_building; notify_interval = notify_interval_outside_building;