add debug logging to database file name

This commit is contained in:
Phillip Thelen 2016-10-02 17:26:18 +02:00
parent f7d3981eec
commit 0d76a75b3e

View file

@ -313,7 +313,9 @@ public class HabiticaApplication extends MultiDexApplication {
@Override
public File getDatabasePath(String name) {
return new File(getExternalFilesDir(null), "HabiticaDatabase/" + name);
File dbFile = new File(getExternalFilesDir(null), "HabiticaDatabase/" + name);
Crashlytics.setString("Database File", dbFile.getAbsolutePath());
return dbFile;
}
private void createBillingAndCheckout() {