From 86245837643d3f9fb2cda3f6b73f496f42774048 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 19 Jan 2012 09:22:10 +0300 Subject: [PATCH] move cache directories to sdcard/data --- src/org/fox/ttrss/FeedsFragment.java | 2 +- src/org/fox/ttrss/ImageCacheService.java | 2 +- src/org/fox/ttrss/OfflineFeedsFragment.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/fox/ttrss/FeedsFragment.java b/src/org/fox/ttrss/FeedsFragment.java index 430194e5..797df018 100644 --- a/src/org/fox/ttrss/FeedsFragment.java +++ b/src/org/fox/ttrss/FeedsFragment.java @@ -64,7 +64,7 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh private FeedList m_feeds = new FeedList(); private OnlineServices m_onlineServices; private int m_selectedFeedId; - private static final String ICON_PATH = "/org.fox.ttrss/icons/"; + private static final String ICON_PATH = "/data/org.fox.ttrss/icons/"; private boolean m_enableFeedIcons; private boolean m_feedIconsChecked = false; diff --git a/src/org/fox/ttrss/ImageCacheService.java b/src/org/fox/ttrss/ImageCacheService.java index 94937b24..6b0dc139 100644 --- a/src/org/fox/ttrss/ImageCacheService.java +++ b/src/org/fox/ttrss/ImageCacheService.java @@ -26,7 +26,7 @@ public class ImageCacheService extends IntentService { public static final int NOTIFY_DOWNLOADING = 1; - private static final String CACHE_PATH = "/org.fox.ttrss/image-cache/"; + private static final String CACHE_PATH = "/data/org.fox.ttrss/image-cache/"; private int m_imagesDownloaded = 0; diff --git a/src/org/fox/ttrss/OfflineFeedsFragment.java b/src/org/fox/ttrss/OfflineFeedsFragment.java index 34a71b17..8b836218 100644 --- a/src/org/fox/ttrss/OfflineFeedsFragment.java +++ b/src/org/fox/ttrss/OfflineFeedsFragment.java @@ -32,7 +32,7 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene private final String TAG = this.getClass().getSimpleName(); private SharedPreferences m_prefs; private FeedListAdapter m_adapter; - private static final String ICON_PATH = "/org.fox.ttrss/icons/"; + private static final String ICON_PATH = "/data/org.fox.ttrss/icons/"; private int m_selectedFeedId; private boolean m_enableFeedIcons; private Cursor m_cursor;