Skip to content

Commit

Permalink
refresh contacts database on new db query
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryasphalt authored and mcginty committed Jan 14, 2015
1 parent 778b8b4 commit c89fbab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public ContactsCursorLoader(Context context, String filter, boolean pushOnly) {

@Override
public Cursor loadInBackground() {
ContactsDatabase.destroyInstance();
db = ContactsDatabase.getInstance(context);
return db.query(filter, pushOnly);
}
Expand Down

0 comments on commit c89fbab

Please sign in to comment.