mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Handle case of migration of empty src directory
This commit is contained in:
parent
4265c60b92
commit
a9f55d5d96
1 changed files with 3 additions and 0 deletions
|
@ -293,6 +293,9 @@ public class StorageMigration {
|
|||
deleteRecursive(dstFile);
|
||||
dstFile.delete();
|
||||
|
||||
File srcFile = new File(mStorageSource + File.separator + MainApp.getDataFolder());
|
||||
srcFile.mkdirs();
|
||||
|
||||
publishProgress(R.string.file_migration_checking_destination);
|
||||
|
||||
checkDestinationAvailability();
|
||||
|
|
Loading…
Reference in a new issue