Skip to content

Commit

Permalink
Merge pull request #432 from longinoa/fix-database
Browse files Browse the repository at this point in the history
Have DefaultDatabaseProvider return filename
  • Loading branch information
longinoa authored Sep 12, 2016
2 parents fa75228 + 89cac2b commit 728f669
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public DefaultDatabaseFilesProvider(Context context) {
@Override
public List<File> getDatabaseFiles() {
List<File> databaseFiles = new ArrayList<File>();
for (String filename : mContext.databaseList()) {
databaseFiles.add(new File(filename));
for (String databaseName : mContext.databaseList()) {
databaseFiles.add(mContext.getDatabasePath(databaseName));
}
return databaseFiles;
}
Expand Down

0 comments on commit 728f669

Please sign in to comment.