mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Keep the activity with the waiting dialog till the copies finish
This commit is contained in:
parent
e1a9203c33
commit
738e23a055
1 changed files with 4 additions and 3 deletions
|
@ -585,8 +585,6 @@ public class Uploader extends FileActivity
|
||||||
.getDefaultSharedPreferences(getApplicationContext()).edit();
|
.getDefaultSharedPreferences(getApplicationContext()).edit();
|
||||||
appPrefs.putString("last_upload_path", mUploadPath);
|
appPrefs.putString("last_upload_path", mUploadPath);
|
||||||
appPrefs.apply();
|
appPrefs.apply();
|
||||||
|
|
||||||
finish();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -853,7 +851,10 @@ public class Uploader extends FileActivity
|
||||||
Log_OC.d(TAG, message);
|
Log_OC.d(TAG, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
mNumCacheFile -= numFiles;
|
mNumCacheFile = 0;
|
||||||
|
|
||||||
|
finish();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue