mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +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. Signed-off-by: ardevd <edvard.holst@gmail.com>
This commit is contained in:
parent
c739114c55
commit
dd04bf9e93
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