hide notification if nothing is ongoing

This commit is contained in:
sonora 2016-04-01 17:15:15 +02:00
parent e868ebce01
commit 12815491d9

View file

@ -111,6 +111,8 @@ public class NotificationHelper {
float dst = app.getSavingTrackHelper().getDistance();
notificationText += ": "+OsmAndFormatter.getFormattedDistance(dst, app);
icon = R.drawable.ic_action_polygom_dark;
} else {
return null;
}
Intent contentIntent = new Intent(app, MapActivity.class);