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:
ardevd 2019-03-26 11:28:59 +01:00
parent c739114c55
commit dd04bf9e93
No known key found for this signature in database
GPG key ID: C30729EE3C9A3CCE

View file

@ -585,7 +585,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
mAuthTokenType = null; mAuthTokenType = null;
if (extras != null) { if (extras != null) {
extras.getString(AccountAuthenticator.KEY_AUTH_TOKEN_TYPE); mAuthTokenType = extras.getString(AccountAuthenticator.KEY_AUTH_TOKEN_TYPE);
} }
if (mAuthTokenType == null) { if (mAuthTokenType == null) {