Do not close cursor that is still in use

This commit is contained in:
jan_bar 2013-04-26 10:41:26 +02:00
parent a771ad16cf
commit f4019af03d
2 changed files with 0 additions and 2 deletions

View File

@ -309,7 +309,6 @@ public class OfflineFeedCategoriesFragment extends Fragment implements OnItemCli
if (c != null) { if (c != null) {
int catId = c.getInt(0); int catId = c.getInt(0);
c.close();
return catId; return catId;
} }

View File

@ -339,7 +339,6 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene
if (c != null) { if (c != null) {
int feedId = c.getInt(0); int feedId = c.getInt(0);
c.close();
return feedId; return feedId;
} }