fix download service recreation

This commit is contained in:
Chumva 2019-06-19 11:07:14 +03:00
parent 1686fa91d3
commit a31369a55a

View file

@ -39,7 +39,7 @@ public class DownloadService extends Service {
startForeground(OsmandNotification.DOWNLOAD_NOTIFICATION_SERVICE_ID, notification);
app.getNotificationHelper().refreshNotification(OsmandNotification.NotificationType.DOWNLOAD);
}
return START_REDELIVER_INTENT;
return START_NOT_STICKY;
}
@Override