diff --git a/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java b/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java index 41f5249dee..d2bd7f7527 100644 --- a/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java @@ -34,11 +34,6 @@ public abstract class BaseActivity extends AppCompatActivity { */ private OCCapability mCapabilities; - /** - * Flag to signal that the activity will is finishing to enforce the creation of an ownCloud {@link Account}. - */ - private boolean mRedirectingToSetupAccount; - /** * Flag to signal when the value of mAccount was set. */ @@ -117,7 +112,6 @@ public abstract class BaseActivity extends AppCompatActivity { if (newAccount == null) { /// no account available: force account creation createAccount(true); - mRedirectingToSetupAccount = true; mAccountWasSet = false; mAccountWasRestored = false; @@ -226,7 +220,6 @@ public abstract class BaseActivity extends AppCompatActivity { @Override public void run(AccountManagerFuture future) { - BaseActivity.this.mRedirectingToSetupAccount = false; boolean accountWasSet = false; if (future != null) { try {