urbanairship-core/src/main/java/com/urbanairship/widget/UAWebViewClient.java
@Override
    @SuppressLint("NewApi")
    public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest request) {

        if(!request.isForMainFrame() && request.getUrl().getPath().endsWith("/favicon.ico")) {
            return new WebResourceResponse("image/png", null, null);
        }

        return null;
    }
/**
     * Intercepts the favicon request and returns null favicon
     *
     * @param webView The web view.
     * @param request The WebResourceRequest being loaded.
     * @return The tiny favicon image embedded in a WebResourceResponse or null if the url does not contain a favicon.
     */
Intercepts the favicon request and returns null favicon
@param webView The web view.
@param request The WebResourceRequest being loaded.
@return The tiny favicon image embedded in a WebResourceResponse or null if the url does not contain a favicon.
Intercepts the favicon request and returns null favicon @param webView The web view . @param request The WebResourceRequest being loaded . @return The tiny favicon image embedded in a WebResourceResponse or null if the url does not contain a favicon .
@Override
    @SuppressLint("NewApi")
    public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest request) {
        if(!request.isForMainFrame() && request.getUrl().getPath().endsWith("/favicon.ico")) {
            return new WebResourceResponse("image/png", null, null);
        }
        return null;
    }
@ Override @ SuppressLint ( "NewApi" ) public WebResourceResponse shouldInterceptRequest ( WebView webView , WebResourceRequest request ) { if ( ! request . isForMainFrame ( ) && request . getUrl ( ) . getPath ( ) . endsWith ( "/favicon.ico" ) ) { return new WebResourceResponse ( "image/png" , null , null ) ; } return null ; }
Intercepts the favicon request and returns null favicon
 @param webView The web view.
Intercepts the favicon request and returns null favicon @param webView The web view .