mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Keep db conn cache fresh.
This commit is contained in:
parent
3af84fbe76
commit
c7720153a9
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,6 @@ public class NbActivity extends Activity {
|
|||
finishIfNotLoggedIn();
|
||||
|
||||
dbHelper = new BlurDatabaseHelper(this);
|
||||
FeedUtils.offerDB(dbHelper);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -68,6 +67,8 @@ public class NbActivity extends Activity {
|
|||
super.onResume();
|
||||
finishIfNotLoggedIn();
|
||||
|
||||
FeedUtils.offerDB(dbHelper);
|
||||
|
||||
synchronized (AllActivities) {
|
||||
AllActivities.add(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue