diff --git a/sdk/src/main/java/com/hcaptcha/sdk/HCaptchaWebViewHelper.java b/sdk/src/main/java/com/hcaptcha/sdk/HCaptchaWebViewHelper.java index e86b58c..81398af 100644 --- a/sdk/src/main/java/com/hcaptcha/sdk/HCaptchaWebViewHelper.java +++ b/sdk/src/main/java/com/hcaptcha/sdk/HCaptchaWebViewHelper.java @@ -162,6 +162,7 @@ public void onPageFinished(WebView view, String url) { } @Override + @SuppressWarnings("java:S1874") // another onReceivedError with non-deprecated signature requires 23 API level public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { super.onReceivedError(view, errorCode, description, failingUrl); HCaptchaLog.d("[webview] onReceivedError \"%s\" (%d)", description, errorCode);