dialog.show(ft, UNTRUSTED_CERT_DIALOG_TAG);\r
}\r
\r
- /**\r
- * Show authentication dialog \r
- */\r
- public void showAuthenticationDialog(WebView webView, HttpAuthHandler handler) {\r
- // Show a dialog for the authentication\r
- createAuthenticationDialog(webView, handler);\r
- \r
- }\r
\r
/**\r
* Show untrusted cert dialog \r
}\r
\r
/**\r
- * Create dialog for request authentication to the user\r
+ * Create and show dialog for request authentication to the user\r
* @param webView\r
* @param handler\r
*/\r
- private void createAuthenticationDialog(WebView webView, HttpAuthHandler handler) {\r
+ public void createAuthenticationDialog(WebView webView, HttpAuthHandler handler) {\r
\r
// Show a dialog with the certificate info\r
CredentialsDialogFragment dialog = CredentialsDialogFragment.newInstanceForCredentials(webView, handler);\r