From 6b431f01f4375a91e2ba7ad9aeb7dff7b19f84ce Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Jul 2013 23:12:53 +0400 Subject: [PATCH] fix offline success intent being sent too soon because imagecacheservice was not being properly detected --- src/org/fox/ttrss/offline/OfflineDownloadService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/offline/OfflineDownloadService.java b/src/org/fox/ttrss/offline/OfflineDownloadService.java index 07f224aa..e507c656 100644 --- a/src/org/fox/ttrss/offline/OfflineDownloadService.java +++ b/src/org/fox/ttrss/offline/OfflineDownloadService.java @@ -125,7 +125,7 @@ public class OfflineDownloadService extends Service { private boolean isCacheServiceRunning() { ActivityManager manager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); for (RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) { - if ("org.fox.ttrss.ImageCacheService".equals(service.service.getClassName())) { + if ("org.fox.ttrss.util.ImageCacheService".equals(service.service.getClassName())) { return true; } }