|
|
@@ -49,7 +49,7 @@ public class FileMigrator {
|
|
|
}
|
|
|
|
|
|
public static void MigratePassword(Context ctx, File from, File to, FileInterfaceFactory.PasswordGetter passInput, OnResponseListener<Void> onDone, boolean removePrevious) {
|
|
|
- MigratePassword(ctx, FileInterfaceFactory.GetFileInterface(ctx, passInput, from), FileInterfaceFactory.GetFileInterface(ctx, passInput, to), from.getAbsolutePath().equals(to.getAbsolutePath()) && removePrevious ? onDone : new OnResponseListener<Void>() {
|
|
|
+ MigratePassword(ctx, FileInterfaceFactory.GetFileInterface(ctx, passInput, from), FileInterfaceFactory.GetFileInterface(ctx, passInput, to), from.getAbsolutePath().equals(to.getAbsolutePath()) || !removePrevious ? onDone : new OnResponseListener<Void>() {
|
|
|
@Override
|
|
|
public void OnResponse(Void result) {
|
|
|
from.delete();
|