Missed this error in the merge commit

This commit is contained in:
Joe Bowser 2012-05-29 15:49:04 -07:00
parent fd12f57f10
commit 43df9f6b9c

View File

@ -141,7 +141,7 @@ public class Storage extends Plugin {
// If no database path, generate from application package
if (this.path == null) {
this.path = this.ctx.getApplicationContext().getDir("database", Context.MODE_PRIVATE).getPath();
this.path = this.ctx.getActivity().getDir("database", Context.MODE_PRIVATE).getPath();
}
this.dbName = this.path + File.pathSeparator + db + ".db";