public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\r
\r
@Override\r
- public void onTextChanged(CharSequence s, int start, int before, int count) {}\r
+ public void onTextChanged(CharSequence s, int start, int before, int count) {\r
+ mAuthStatusIcon = 0;\r
+ mAuthStatusText = 0;\r
+ showAuthStatus();\r
+ }\r
\r
});\r
mPasswordInput.setOnFocusChangeListener(this);\r
}
public boolean isIdPRedirection() {
- return (mRedirectedLocation.toUpperCase().contains("SAML") ||
- mRedirectedLocation.toLowerCase().contains("wayf"));
+ return (mRedirectedLocation != null &&
+ (mRedirectedLocation.toUpperCase().contains("SAML") ||
+ mRedirectedLocation.toLowerCase().contains("wayf")));
}
}