Fix online logic

This commit is contained in:
Mieszko Wrzeszczyński 2019-01-03 19:51:48 +01:00
parent 8bcecbbed5
commit b81e28cd61
1 changed files with 1 additions and 1 deletions

View File

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