From 85013596ae4600c8aa97f48e36a744a917031c21 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Mon, 20 Mar 2017 17:32:33 +0300 Subject: [PATCH] Fix NotificationHelper --- OsmAnd/src/net/osmand/plus/NotificationHelper.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/NotificationHelper.java b/OsmAnd/src/net/osmand/plus/NotificationHelper.java index 1d6a5a7f46..6d19bf74b3 100644 --- a/OsmAnd/src/net/osmand/plus/NotificationHelper.java +++ b/OsmAnd/src/net/osmand/plus/NotificationHelper.java @@ -6,7 +6,6 @@ import android.support.v4.app.NotificationCompat.Builder; import net.osmand.plus.notifications.GpsWakeUpNotification; import net.osmand.plus.notifications.GpxNotification; import net.osmand.plus.notifications.NavigationNotification; -import net.osmand.plus.notifications.OsMoNotification; import net.osmand.plus.notifications.OsmandNotification; import net.osmand.plus.notifications.OsmandNotification.NotificationType; @@ -55,8 +54,6 @@ public class NotificationHelper { notification = gpxNotification; } else if (gpsWakeUpNotification.isEnabled()) { notification = gpsWakeUpNotification; - } else if (osMoNotification.isEnabled() && osMoNotification.isActive()) { - notification = osMoNotification; } return notification; } @@ -75,7 +72,6 @@ public class NotificationHelper { public void showNotifications() { boolean navNotificationVisible = navigationNotification.showNotification(); gpxNotification.showNotification(); - osMoNotification.showNotification(); if (!navNotificationVisible && !gpxNotification.isActive()) { gpsWakeUpNotification.showNotification(); } @@ -102,7 +98,6 @@ public class NotificationHelper { public void refreshNotifications() { boolean navNotificationVisible = navigationNotification.refreshNotification(); gpxNotification.refreshNotification(); - osMoNotification.refreshNotification(); if (!navNotificationVisible && !gpxNotification.isActive()) { gpsWakeUpNotification.refreshNotification(); } else {