mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
authentication: Added missing variable assignment.
The `mAuthTokenType` variable is declared and assigned a null value but no value is subsequently assigned, making the null check later on redundant. The `AccountAuthenticator.KEY_AUTH_TOKEN_TYPE` extra value should therefore be assigned the `mAuthTokenType` value I'm assuming.
This commit is contained in:
parent
c739114c55
commit
333bb0f0f3
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
mAuthTokenType = null;
|
||||
|
||||
if (extras != null) {
|
||||
extras.getString(AccountAuthenticator.KEY_AUTH_TOKEN_TYPE);
|
||||
mAuthTokenType = extras.getString(AccountAuthenticator.KEY_AUTH_TOKEN_TYPE);
|
||||
}
|
||||
|
||||
if (mAuthTokenType == null) {
|
||||
|
|
Loading…
Reference in a new issue