Merge pull request #4687 from nextcloud/account-cleanup-upload-files-activity

Remove onAccountSet from UploadFilesActivity
This commit is contained in:
Tobias Kaminsky 2019-10-17 15:22:10 +02:00 committed by GitHub
commit 16cc46f4ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -677,8 +677,8 @@ public class UploadFilesActivity extends FileActivity implements
} }
@Override @Override
protected void onAccountSet(boolean stateWasRecovered) { protected void onStart() {
super.onAccountSet(stateWasRecovered); super.onStart();
if (getAccount() != null) { if (getAccount() != null) {
if (!mAccountOnCreation.equals(getAccount())) { if (!mAccountOnCreation.equals(getAccount())) {
setResult(RESULT_CANCELED); setResult(RESULT_CANCELED);