mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #4687 from nextcloud/account-cleanup-upload-files-activity
Remove onAccountSet from UploadFilesActivity
This commit is contained in:
commit
16cc46f4ed
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue