use of net.osmand.plus.notifications.OsmandNotification in project Osmand by osmandapp.
the class NotificationHelper method buildTopNotification.
public Notification buildTopNotification() {
OsmandNotification notification = acquireTopNotification();
if (notification != null) {
removeNotification(notification.getType());
setTopNotification(notification);
Builder notificationBuilder = notification.buildNotification(false);
return notificationBuilder.build();
}
return null;
}
use of net.osmand.plus.notifications.OsmandNotification in project Osmand by osmandapp.
the class NotificationHelper method updateTopNotification.
public void updateTopNotification() {
OsmandNotification notification = acquireTopNotification();
setTopNotification(notification);
}
Aggregations