From f4019af03da35822da454f0cd77da0481c9c3baa Mon Sep 17 00:00:00 2001 From: jan_bar Date: Fri, 26 Apr 2013 10:41:26 +0200 Subject: [PATCH] Do not close cursor that is still in use --- src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java | 1 - src/org/fox/ttrss/offline/OfflineFeedsFragment.java | 1 - 2 files changed, 2 deletions(-) diff --git a/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java b/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java index dbc62f4f..85f49d6b 100644 --- a/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java +++ b/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java @@ -309,7 +309,6 @@ public class OfflineFeedCategoriesFragment extends Fragment implements OnItemCli if (c != null) { int catId = c.getInt(0); - c.close(); return catId; } diff --git a/src/org/fox/ttrss/offline/OfflineFeedsFragment.java b/src/org/fox/ttrss/offline/OfflineFeedsFragment.java index 09cb7b63..ed7df040 100644 --- a/src/org/fox/ttrss/offline/OfflineFeedsFragment.java +++ b/src/org/fox/ttrss/offline/OfflineFeedsFragment.java @@ -339,7 +339,6 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene if (c != null) { int feedId = c.getInt(0); - c.close(); return feedId; }