Keep the activity with the waiting dialog till the copies finish

This commit is contained in:
Juan Carlos González Cabrero 2016-04-12 11:15:39 +02:00
parent e1a9203c33
commit 738e23a055

View file

@ -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();
} }
/** /**