diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2012-10-14 16:37:20 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2012-10-14 16:37:20 +0400 |
| commit | 8b7a93767869134d4b82adb835edebce974825f4 (patch) | |
| tree | 631ca9d37ded43816116dc9f3fb11d235a981fa0 /src/org/fox/ttrss/offline/OfflineDownloadService.java | |
| parent | e80c14c8f598b5ad83ec22d8848f342f196439ce (diff) | |
use proper system cache directory for storing cache files
Diffstat (limited to 'src/org/fox/ttrss/offline/OfflineDownloadService.java')
| -rw-r--r-- | src/org/fox/ttrss/offline/OfflineDownloadService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/fox/ttrss/offline/OfflineDownloadService.java b/src/org/fox/ttrss/offline/OfflineDownloadService.java index b2e3ecb0..c3a0444c 100644 --- a/src/org/fox/ttrss/offline/OfflineDownloadService.java +++ b/src/org/fox/ttrss/offline/OfflineDownloadService.java @@ -402,7 +402,7 @@ public class OfflineDownloadService extends Service { String url = img.attr("src");
if (url.indexOf("://") != -1) {
- if (!ImageCacheService.isUrlCached(url)) {
+ if (!ImageCacheService.isUrlCached(OfflineDownloadService.this, url)) {
Intent intent = new Intent(OfflineDownloadService.this,
ImageCacheService.class);
@@ -472,7 +472,7 @@ public class OfflineDownloadService extends Service { m_sessionId = intent.getStringExtra("sessionId");
if (!m_downloadInProgress) {
- if (m_downloadImages) ImageCacheService.cleanupCache(false);
+ if (m_downloadImages) ImageCacheService.cleanupCache(this, false);
updateNotification(R.string.notify_downloading_init);
m_downloadInProgress = true;
|