From 175c703650a26057fa58b9ad62e353e23fb82806 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Dec 2011 15:04:42 +0300 Subject: remove periodic downloading articles notifies --- src/org/fox/ttrss/OfflineDownloadService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/org/fox/ttrss/OfflineDownloadService.java b/src/org/fox/ttrss/OfflineDownloadService.java index 933cc75e..489df927 100644 --- a/src/org/fox/ttrss/OfflineDownloadService.java +++ b/src/org/fox/ttrss/OfflineDownloadService.java @@ -140,8 +140,6 @@ public class OfflineDownloadService extends IntentService { private void downloadArticles() { Log.d(TAG, "offline: downloading articles... offset=" + m_articleOffset); - updateNotification(getString(R.string.notify_downloading_articles, m_articleOffset)); - OfflineArticlesRequest req = new OfflineArticlesRequest(this); @SuppressWarnings("serial") @@ -196,6 +194,9 @@ public class OfflineDownloadService extends IntentService { m_articleOffset = 0; getWritableDb().execSQL("DELETE FROM articles;"); + + updateNotification(R.string.notify_downloading_articles); + downloadArticles(); } catch (Exception e) { e.printStackTrace(); -- cgit v1.2.3-54-g00ecf