use custom SSO value for authTokenType -> to detect if account is added by SSO

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-10-21 14:43:56 +02:00
parent 3ffd6d5f4f
commit 2866e1848a
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -707,7 +707,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
if (extras == null) {
return false;
} else {
return extras.getParcelable("accountAuthenticatorResponse") != null;
String authTokenType = extras.getString("authTokenType");
return "SSO".equals(authTokenType);
}
}