mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
dialog committed with allow state loss
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
869c4a91e7
commit
d396bbf772
1 changed files with 5 additions and 3 deletions
|
@ -1305,9 +1305,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
}
|
||||
|
||||
/// be gentle with the user
|
||||
IndeterminateProgressDialog dialog =
|
||||
IndeterminateProgressDialog.newInstance(R.string.auth_trying_to_login, true);
|
||||
dialog.show(getSupportFragmentManager(), WAIT_DIALOG_TAG);
|
||||
IndeterminateProgressDialog dialog = IndeterminateProgressDialog.newInstance(R.string.auth_trying_to_login,
|
||||
true);
|
||||
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
|
||||
ft.add(dialog, WAIT_DIALOG_TAG);
|
||||
ft.commitAllowingStateLoss();
|
||||
|
||||
/// validate credentials accessing the root folder
|
||||
OwnCloudCredentials credentials = OwnCloudCredentialsFactory.newBasicCredentials(username, password);
|
||||
|
|
Loading…
Reference in a new issue