Skip to content

Commit

Permalink
dump mediaDb into /sdcard/Android/data/org.courville.nova/files
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Oct 23, 2021
1 parent 33ad1a4 commit e696278
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/archos/filecorelibrary/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ else if (categories.isEmpty())
// dump database to storage
public static void backupDatabase(Context context, String dbFileName) {
try {
File sdCard = Environment.getExternalStorageDirectory();
File sdCard = context.getExternalFilesDir(null);
// dump into /sdcard/Android/data/org.courville.nova/files
File dataDir = Environment.getDataDirectory();

String packageName = context.getApplicationInfo().packageName;
Expand Down

0 comments on commit e696278

Please sign in to comment.