Potentially Call to dangerous WebView settings API

Description

List of all WebView methods used in the application.

Recommendation

If your application accesses sensitive data with a WebView, you may want to use the clearCache() method to delete any files stored locally.

Any URI received via an intent from outside a trust-boundary should be validated before rendering it with WebView

Technical details
[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/ads/adunit/WebPlayerHandler;', 'onCreate', '(Lcom/unity3d/services/ads/adunit/AdUnitActivity; Landroid/os/Bundle;)V'), ('Lcom/unity3d/services/ads/adunit/WebPlayerHandler;', 'create', '(Lcom/unity3d/services/ads/adunit/AdUnitActivity;)Z'), ('Lcom/unity3d/services/ads/webplayer/WebPlayer;', '<init>', '(Landroid/content/Context; Ljava/lang/String; Lorg/json/JSONObject; Lorg/json/JSONObject;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.ads.adunit.WebPlayerHandler.onCreate():


    public void onCreate(com.unity3d.services.ads.adunit.AdUnitActivity p1, android.os.Bundle p2)
    {
        this.create(p1);
        return;
    }

Method com.unity3d.services.ads.adunit.WebPlayerHandler.create():


    public boolean create(com.unity3d.services.ads.adunit.AdUnitActivity p5)
    {
        if (this._webPlayer == null) {
            this._webPlayer = new com.unity3d.services.ads.webplayer.WebPlayer(p5, "webplayer", com.unity3d.services.ads.api.WebPlayer.getWebSettings(), com.unity3d.services.ads.api.WebPlayer.getWebPlayerSettings());
            this._webPlayer.setEventSettings(com.unity3d.services.ads.api.WebPlayer.getWebPlayerEventSettings());
        }
        return 1;
    }

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>():


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/ads/adunit/WebPlayerHandler;', 'create', '(Lcom/unity3d/services/ads/adunit/AdUnitActivity;)Z'), ('Lcom/unity3d/services/ads/webplayer/WebPlayer;', '<init>', '(Landroid/content/Context; Ljava/lang/String; Lorg/json/JSONObject; Lorg/json/JSONObject;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.ads.adunit.WebPlayerHandler.create():


    public boolean create(com.unity3d.services.ads.adunit.AdUnitActivity p5)
    {
        if (this._webPlayer == null) {
            this._webPlayer = new com.unity3d.services.ads.webplayer.WebPlayer(p5, "webplayer", com.unity3d.services.ads.api.WebPlayer.getWebSettings(), com.unity3d.services.ads.api.WebPlayer.getWebPlayerSettings());
            this._webPlayer.setEventSettings(com.unity3d.services.ads.api.WebPlayer.getWebPlayerEventSettings());
        }
        return 1;
    }

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>():


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/core/webview/WebView;', '<init>', '(Landroid/content/Context;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.core.webview.WebView.<init>():


    public WebView(android.content.Context p12)
    {
        super(p12);
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(1);
            v1.setAllowUniversalAccessFromFileURLs(1);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                com.unity3d.services.core.webview.WebView._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                com.unity3d.services.core.webview.WebView._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setBlockNetworkImage(0);
        v1.setBlockNetworkLoads(0);
        v1.setBuiltInZoomControls(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            v1.setDisplayZoomControls(0);
        }
        v1.setDomStorageEnabled(0);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            v1.setEnableSmoothTransition(0);
        }
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptCanOpenWindowsAutomatically(0);
        v1.setJavaScriptEnabled(1);
        v1.setLightTouchEnabled(0);
        v1.setLoadWithOverviewMode(0);
        v1.setLoadsImagesAutomatically(1);
        if (android.os.Build$VERSION.SDK_INT >= 17) {
            v1.setMediaPlaybackRequiresUserGesture(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 21) {
            v1.setMixedContentMode(1);
        }
        v1.setNeedInitialFocus(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        v1.setSupportMultipleWindows(0);
        v1.setSupportZoom(0);
        v1.setUseWideViewPort(1);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.addJavascriptInterface(new com.unity3d.services.core.webview.bridge.WebViewBridgeInterface(), "webviewbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/banners/view/BannerView;', 'getOrCreateInstance', '()Lcom/unity3d/services/banners/view/BannerView;'), ('Lcom/unity3d/services/banners/view/BannerView;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/unity3d/services/ads/webplayer/WebPlayer;', '<init>', '(Landroid/content/Context; Ljava/lang/String; Lorg/json/JSONObject; Lorg/json/JSONObject;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.banners.view.BannerView.getOrCreateInstance():


    public static com.unity3d.services.banners.view.BannerView getOrCreateInstance()
    {
        if (com.unity3d.services.banners.view.BannerView._instance == null) {
            com.unity3d.services.banners.view.BannerView._instance = new com.unity3d.services.banners.view.BannerView(com.unity3d.services.core.properties.ClientProperties.getApplicationContext());
        }
        return com.unity3d.services.banners.view.BannerView._instance;
    }

Method com.unity3d.services.banners.view.BannerView.<init>():


    public BannerView(android.content.Context p5)
    {
        super(p5);
        super._lastVisibility = -1;
        super._webPlayer = new com.unity3d.services.ads.webplayer.WebPlayer(p5, "bannerplayer", com.unity3d.services.banners.view.BannerView._webSettings, com.unity3d.services.banners.view.BannerView._webPlayerSettings);
        super._webPlayer.setEventSettings(com.unity3d.services.banners.view.BannerView._webPlayerEventSettings);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            super.addOnLayoutChangeListener(new com.unity3d.services.banners.view.BannerView$1(super));
        }
        return;
    }

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>():


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/banners/view/BannerView;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/unity3d/services/ads/webplayer/WebPlayer;', '<init>', '(Landroid/content/Context; Ljava/lang/String; Lorg/json/JSONObject; Lorg/json/JSONObject;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.banners.view.BannerView.<init>():


    public BannerView(android.content.Context p5)
    {
        super(p5);
        super._lastVisibility = -1;
        super._webPlayer = new com.unity3d.services.ads.webplayer.WebPlayer(p5, "bannerplayer", com.unity3d.services.banners.view.BannerView._webSettings, com.unity3d.services.banners.view.BannerView._webPlayerSettings);
        super._webPlayer.setEventSettings(com.unity3d.services.banners.view.BannerView._webPlayerEventSettings);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            super.addOnLayoutChangeListener(new com.unity3d.services.banners.view.BannerView$1(super));
        }
        return;
    }

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>():


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/banners/api/Banner$1;', 'run', '()V'), ('Lcom/unity3d/services/banners/view/BannerView;', 'getOrCreateInstance', '()Lcom/unity3d/services/banners/view/BannerView;'), ('Lcom/unity3d/services/banners/view/BannerView;', '<init>', '(Landroid/content/Context;)V'), ('Lcom/unity3d/services/ads/webplayer/WebPlayer;', '<init>', '(Landroid/content/Context; Ljava/lang/String; Lorg/json/JSONObject; Lorg/json/JSONObject;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.banners.api.Banner$1.run():


    public declared_synchronized void run()
    {
        try {
            com.unity3d.services.banners.view.BannerView v1 = com.unity3d.services.banners.view.BannerView.getOrCreateInstance();
            v1.setBannerDimensions(this.val$width.intValue(), this.val$height.intValue(), com.unity3d.services.banners.view.BannerPosition.fromString(this.val$style));
            v1.setViews(com.unity3d.services.banners.api.Banner.access$000(this.val$viewsArray));
            com.unity3d.services.core.webview.WebViewApp v0 = com.unity3d.services.core.webview.WebViewApp.getCurrentApp();
        } catch (com.unity3d.services.core.webview.WebViewEventCategory v2_4) {
            throw v2_4;
        }
        if (v0 != null) {
            Object[] v4_2 = new Object[0];
            v0.sendEvent(com.unity3d.services.core.webview.WebViewEventCategory.BANNER, com.unity3d.services.banners.view.BannerEvent.BANNER_LOADED, v4_2);
        }
        return;
    }

Method com.unity3d.services.banners.view.BannerView.getOrCreateInstance():


    public static com.unity3d.services.banners.view.BannerView getOrCreateInstance()
    {
        if (com.unity3d.services.banners.view.BannerView._instance == null) {
            com.unity3d.services.banners.view.BannerView._instance = new com.unity3d.services.banners.view.BannerView(com.unity3d.services.core.properties.ClientProperties.getApplicationContext());
        }
        return com.unity3d.services.banners.view.BannerView._instance;
    }

Method com.unity3d.services.banners.view.BannerView.<init>():


    public BannerView(android.content.Context p5)
    {
        super(p5);
        super._lastVisibility = -1;
        super._webPlayer = new com.unity3d.services.ads.webplayer.WebPlayer(p5, "bannerplayer", com.unity3d.services.banners.view.BannerView._webSettings, com.unity3d.services.banners.view.BannerView._webPlayerSettings);
        super._webPlayer.setEventSettings(com.unity3d.services.banners.view.BannerView._webPlayerEventSettings);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            super.addOnLayoutChangeListener(new com.unity3d.services.banners.view.BannerView$1(super));
        }
        return;
    }

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>():


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/unity3d/services/ads/webplayer/WebPlayer;', '<init>', '(Landroid/content/Context; Ljava/lang/String; Lorg/json/JSONObject; Lorg/json/JSONObject;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

JavaScript in Webview is enabled. setJavaScriptEnabled is set to true:

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>():


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.webkit.WebSettings.setJavaScriptEnabled() not found.

Method com.unity3d.services.core.webview.WebView.<init>() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public WebView(android.content.Context p12)
    {
        super(p12);
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(1);
            v1.setAllowUniversalAccessFromFileURLs(1);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                com.unity3d.services.core.webview.WebView._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                com.unity3d.services.core.webview.WebView._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setBlockNetworkImage(0);
        v1.setBlockNetworkLoads(0);
        v1.setBuiltInZoomControls(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            v1.setDisplayZoomControls(0);
        }
        v1.setDomStorageEnabled(0);
        if (android.os.Build$VERSION.SDK_INT >= 11) {
            v1.setEnableSmoothTransition(0);
        }
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptCanOpenWindowsAutomatically(0);
        v1.setJavaScriptEnabled(1);
        v1.setLightTouchEnabled(0);
        v1.setLoadWithOverviewMode(0);
        v1.setLoadsImagesAutomatically(1);
        if (android.os.Build$VERSION.SDK_INT >= 17) {
            v1.setMediaPlaybackRequiresUserGesture(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 21) {
            v1.setMixedContentMode(1);
        }
        v1.setNeedInitialFocus(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        v1.setSupportMultipleWindows(0);
        v1.setSupportZoom(0);
        v1.setUseWideViewPort(1);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.addJavascriptInterface(new com.unity3d.services.core.webview.bridge.WebViewBridgeInterface(), "webviewbridge");
        return;
    }

Method com.unity3d.services.ads.webplayer.WebPlayer.<init>() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public WebPlayer(android.content.Context p12, String p13, org.json.JSONObject p14, org.json.JSONObject p15)
    {
        super(p12);
        super._evaluateJavascript = 0;
        super.viewId = p13;
        android.webkit.WebSettings v1 = super.getSettings();
        if (android.os.Build$VERSION.SDK_INT >= 16) {
            v1.setAllowFileAccessFromFileURLs(0);
            v1.setAllowUniversalAccessFromFileURLs(0);
        }
        if (android.os.Build$VERSION.SDK_INT >= 19) {
            try {
                Class[] v4_1 = new Class[2];
                v4_1[0] = String;
                v4_1[1] = android.webkit.ValueCallback;
                super._evaluateJavascript = android.webkit.WebView.getMethod("evaluateJavascript", v4_1);
            } catch (NoSuchMethodException v0) {
                com.unity3d.services.core.log.DeviceLog.exception("Method evaluateJavascript not found", v0);
                super._evaluateJavascript = 0;
            }
        }
        v1.setAppCacheEnabled(0);
        v1.setCacheMode(2);
        v1.setDatabaseEnabled(0);
        v1.setDomStorageEnabled(0);
        v1.setGeolocationEnabled(0);
        v1.setJavaScriptEnabled(1);
        v1.setLoadsImagesAutomatically(1);
        v1.setPluginState(android.webkit.WebSettings$PluginState.OFF);
        v1.setRenderPriority(android.webkit.WebSettings$RenderPriority.NORMAL);
        v1.setSaveFormData(0);
        v1.setSavePassword(0);
        super.setHorizontalScrollBarEnabled(0);
        super.setVerticalScrollBarEnabled(0);
        super.setInitialScale(0);
        super.setBackgroundColor(0);
        com.unity3d.services.core.misc.ViewUtilities.setBackground(super, new android.graphics.drawable.ColorDrawable(0));
        super.setBackgroundResource(0);
        super.setSettings(p14, p15);
        super.setWebViewClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerClient(super, 0));
        super.setWebChromeClient(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerChromeClient(super, 0));
        super.setDownloadListener(new com.unity3d.services.ads.webplayer.WebPlayer$WebPlayerDownloadListener(super, 0));
        super.addJavascriptInterface(new com.unity3d.services.ads.webplayer.WebPlayerBridgeInterface(p13), "webplayerbridge");
        return;
    }

Method android.support.v7.widget.SuggestionsAdapter.getDrawableFromResourceValue() calling method android.net.Uri.parse()


    private android.graphics.drawable.Drawable getDrawableFromResourceValue(String p10)
    {
        if ((p10 != null) && ((!p10.isEmpty()) && (!"0".equals(p10)))) {
            try {
                int v3 = Integer.parseInt(p10);
                String v1 = new StringBuilder().append("android.resource://").append(this.mProviderContext.getPackageName()).append("/").append(v3).toString();
                android.graphics.drawable.Drawable v0 = this.checkIconCache(v1);
            } catch (android.content.res.Resources$NotFoundException v2) {
                android.util.Log.w("SuggestionsAdapter", new StringBuilder().append("Icon resource not found: ").append(p10).toString());
                v0 = 0;
            } catch (android.content.res.Resources$NotFoundException v2) {
                v0 = this.checkIconCache(p10);
                if (v0 == null) {
                    v0 = this.getDrawable(android.net.Uri.parse(p10));
                    this.storeInIconCache(p10, v0);
                }
            }
            if (v0 == null) {
                v0 = android.support.v4.content.ContextCompat.getDrawable(this.mProviderContext, v3);
                this.storeInIconCache(v1, v0);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method android.support.v4.widget.SimpleCursorAdapter.setViewImage() calling method android.net.Uri.parse()


    public void setViewImage(android.widget.ImageView p3, String p4)
    {
        try {
            p3.setImageResource(Integer.parseInt(p4));
        } catch (NumberFormatException v0) {
            p3.setImageURI(android.net.Uri.parse(p4));
        }
        return;
    }

Method android.support.v4.graphics.drawable.IconCompat.getUri() calling method android.net.Uri.parse()


    public android.net.Uri getUri()
    {
        if ((this.mType != -1) || (android.os.Build$VERSION.SDK_INT < 23)) {
            android.net.Uri v0_3 = android.net.Uri.parse(((String) this.mObj1));
        } else {
            v0_3 = android.support.v4.graphics.drawable.IconCompat.getUri(((android.graphics.drawable.Icon) this.mObj1));
        }
        return v0_3;
    }

Method android.support.v4.graphics.drawable.IconCompat.loadDrawableInner() calling method android.net.Uri.parse()


    private android.graphics.drawable.Drawable loadDrawableInner(android.content.Context p13)
    {
        android.graphics.drawable.BitmapDrawable v7_1;
        switch (this.mType) {
            case 1:
                v7_1 = new android.graphics.drawable.BitmapDrawable(p13.getResources(), ((android.graphics.Bitmap) this.mObj1));
                break;
            case 2:
                String v4 = this.getResPackage();
                if (android.text.TextUtils.isEmpty(v4)) {
                    v4 = p13.getPackageName();
                }
                try {
                    v7_1 = android.support.v4.content.res.ResourcesCompat.getDrawable(android.support.v4.graphics.drawable.IconCompat.getResources(p13, v4), this.mInt1, p13.getTheme());
                } catch (java.io.FileNotFoundException v0_2) {
                    android.graphics.Bitmap v9_7 = new Object[2];
                    v9_7[0] = Integer.valueOf(this.mInt1);
                    v9_7[1] = this.mObj1;
                    android.util.Log.e("IconCompat", String.format("Unable to load resource 0x%08x from pkg=%s", v9_7), v0_2);
                    v7_1 = 0;
                }
                break;
            case 3:
                v7_1 = new android.graphics.drawable.BitmapDrawable(p13.getResources(), android.graphics.BitmapFactory.decodeByteArray(((byte[]) ((byte[]) this.mObj1)), this.mInt1, this.mInt2));
                break;
            case 4:
                java.io.FileInputStream v1;
                android.net.Uri v6 = android.net.Uri.parse(((String) this.mObj1));
                String v5 = v6.getScheme();
                if ((!"content".equals(v5)) && (!"file".equals(v5))) {
                    try {
                        v1 = new java.io.FileInputStream(new java.io.File(((String) this.mObj1)));
                    } catch (java.io.FileNotFoundException v0_0) {
                        android.util.Log.w("IconCompat", new StringBuilder().append("Unable to load image from path: ").append(v6).toString(), v0_0);
                    }
                } else {
                    try {
                        v1 = p13.getContentResolver().openInputStream(v6);
                    } catch (java.io.FileNotFoundException v0_1) {
                        android.util.Log.w("IconCompat", new StringBuilder().append("Unable to load image from URI: ").append(v6).toString(), v0_1);
                    }
                }
                if (v1 == null) {
                } else {
                    v7_1 = new android.graphics.drawable.BitmapDrawable(p13.getResources(), android.graphics.BitmapFactory.decodeStream(v1));
                }
                break;
            case 5:
                v7_1 = new android.graphics.drawable.BitmapDrawable(p13.getResources(), android.support.v4.graphics.drawable.IconCompat.createLegacyIconFromAdaptiveIcon(((android.graphics.Bitmap) this.mObj1), 0));
                break;
            default:
        }
        return v7_1;
    }

Method android.support.v7.widget.SearchView.createIntentFromSuggestion() calling method android.net.Uri.parse()


    private android.content.Intent createIntentFromSuggestion(android.database.Cursor p13, int p14, String p15)
    {
        try {
            String v1 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_action");
        } catch (RuntimeException v8) {
            try {
                int v11 = p13.getPosition();
            } catch (RuntimeException v9) {
                v11 = -1;
            }
            android.util.Log.w("SearchView", new StringBuilder().append("Search suggestions cursor at row ").append(v11).append(" returned exception.").toString(), v8);
            android.content.Intent v0_12 = 0;
            return v0_12;
        }
        if (v1 == null) {
            v1 = this.mSearchable.getSuggestIntentAction();
        }
        if (v1 == null) {
            v1 = "android.intent.action.SEARCH";
        }
        String v7 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_data");
        if (v7 == null) {
            v7 = this.mSearchable.getSuggestIntentData();
        }
        if (v7 != null) {
            String v10 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_data_id");
            if (v10 != null) {
                v7 = new StringBuilder().append(v7).append("/").append(android.net.Uri.encode(v10)).toString();
            }
        }
        android.net.Uri v2;
        if (v7 != null) {
            v2 = android.net.Uri.parse(v7);
        } else {
            v2 = 0;
        }
        v0_12 = this.createIntent(v1, v2, android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_extra_data"), android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_query"), p14, p15);
        return v0_12;
    }

Method android.support.v4.app.ActivityCompat.getReferrer() calling method android.net.Uri.parse()


    public static android.net.Uri getReferrer(android.app.Activity p5)
    {
        int v1_0;
        if (android.os.Build$VERSION.SDK_INT < 22) {
            android.content.Intent v0 = p5.getIntent();
            v1_0 = ((android.net.Uri) v0.getParcelableExtra("android.intent.extra.REFERRER"));
            if (v1_0 == 0) {
                String v2 = v0.getStringExtra("android.intent.extra.REFERRER_NAME");
                if (v2 == null) {
                    v1_0 = 0;
                } else {
                    v1_0 = android.net.Uri.parse(v2);
                }
            }
        } else {
            v1_0 = p5.getReferrer();
        }
        return v1_0;
    }

Method com.unity3d.services.core.api.Intent.launch() calling method android.net.Uri.parse()


    public static void launch(org.json.JSONObject p14, com.unity3d.services.core.webview.bridge.WebViewCallback p15)
    {
        android.content.Intent v5_1;
        String v2_1 = ((String) p14.opt("className"));
        String v7_0 = ((String) p14.opt("packageName"));
        String v0_1 = ((String) p14.opt("action"));
        String v9_1 = ((String) p14.opt("uri"));
        String v6_1 = ((String) p14.opt("mimeType"));
        org.json.JSONArray v1_1 = ((org.json.JSONArray) p14.opt("categories"));
        Integer v4_1 = ((Integer) p14.opt("flags"));
        org.json.JSONArray v3_1 = ((org.json.JSONArray) p14.opt("extras"));
        if ((v7_0 == null) || ((v2_1 != null) || ((v0_1 != null) || (v6_1 != null)))) {
            v5_1 = new android.content.Intent();
            if ((v2_1 != null) && (v7_0 != null)) {
                v5_1.setClassName(v7_0, v2_1);
            }
            if (v0_1 != null) {
                v5_1.setAction(v0_1);
            }
            if (v9_1 != null) {
                v5_1.setData(android.net.Uri.parse(v9_1));
            }
            if (v6_1 != null) {
                v5_1.setType(v6_1);
            }
            if ((v4_1 != null) && (v4_1.intValue() > -1)) {
                v5_1.setFlags(v4_1.intValue());
            }
            if (!com.unity3d.services.core.api.Intent.setCategories(v5_1, v1_1)) {
                Object[] v11_1 = new Object[1];
                v11_1[0] = v1_1;
                p15.error(com.unity3d.services.core.api.Intent$IntentError.COULDNT_PARSE_CATEGORIES, v11_1);
            }
            if (!com.unity3d.services.core.api.Intent.setExtras(v5_1, v3_1)) {
                Object[] v11_2 = new Object[1];
                v11_2[0] = v3_1;
                p15.error(com.unity3d.services.core.api.Intent$IntentError.COULDNT_PARSE_EXTRAS, v11_2);
            }
        } else {
            v5_1 = com.unity3d.services.core.properties.ClientProperties.getApplicationContext().getPackageManager().getLaunchIntentForPackage(v7_0);
            if ((v5_1 != null) && (v4_1.intValue() > -1)) {
                v5_1.addFlags(v4_1.intValue());
            }
        }
        if (v5_1 == null) {
            Object[] v11_3 = new Object[0];
            p15.error(com.unity3d.services.core.api.Intent$IntentError.INTENT_WAS_NULL, v11_3);
        } else {
            if (com.unity3d.services.core.api.Intent.getStartingActivity() == null) {
                Object[] v11_4 = new Object[0];
                p15.error(com.unity3d.services.core.api.Intent$IntentError.ACTIVITY_WAS_NULL, v11_4);
            } else {
                com.unity3d.services.core.api.Intent.getStartingActivity().startActivity(v5_1);
                com.unity3d.services.core.api.Intent$IntentError v10_22 = new Object[0];
                p15.invoke(v10_22);
            }
        }
        return;
    }

Method com.unity3d.services.core.api.Intent.intentFromMetadata() calling method android.net.Uri.parse()


    private static android.content.Intent intentFromMetadata(org.json.JSONObject p12)
    {
        android.content.Intent v5_1;
        String v2_1 = ((String) p12.opt("className"));
        String v7_1 = ((String) p12.opt("packageName"));
        String v0_1 = ((String) p12.opt("action"));
        String v9_1 = ((String) p12.opt("uri"));
        String v6_1 = ((String) p12.opt("mimeType"));
        org.json.JSONArray v1_1 = ((org.json.JSONArray) p12.opt("categories"));
        Integer v4_1 = ((Integer) p12.opt("flags"));
        org.json.JSONArray v3_1 = ((org.json.JSONArray) p12.opt("extras"));
        if ((v7_1 == null) || ((v2_1 != null) || ((v0_1 != null) || (v6_1 != null)))) {
            v5_1 = new android.content.Intent();
            if ((v2_1 != null) && (v7_1 != null)) {
                v5_1.setClassName(v7_1, v2_1);
            }
            if (v0_1 != null) {
                v5_1.setAction(v0_1);
            }
            if (v9_1 != null) {
                v5_1.setData(android.net.Uri.parse(v9_1));
            }
            if (v6_1 != null) {
                v5_1.setType(v6_1);
            }
            if ((v4_1 != null) && (v4_1.intValue() > -1)) {
                v5_1.setFlags(v4_1.intValue());
            }
            if (com.unity3d.services.core.api.Intent.setCategories(v5_1, v1_1)) {
                if (!com.unity3d.services.core.api.Intent.setExtras(v5_1, v3_1)) {
                    throw new com.unity3d.services.core.api.Intent$IntentException(com.unity3d.services.core.api.Intent$IntentError.COULDNT_PARSE_EXTRAS, v3_1);
                }
            } else {
                throw new com.unity3d.services.core.api.Intent$IntentException(com.unity3d.services.core.api.Intent$IntentError.COULDNT_PARSE_CATEGORIES, v1_1);
            }
        } else {
            v5_1 = com.unity3d.services.core.properties.ClientProperties.getApplicationContext().getPackageManager().getLaunchIntentForPackage(v7_1);
            if ((v5_1 != null) && (v4_1.intValue() > -1)) {
                v5_1.addFlags(v4_1.intValue());
            }
        }
        return v5_1;
    }

Method android.support.v4.media.MediaMetadataCompat.getDescription() calling method android.net.Uri.parse()


    public android.support.v4.media.MediaDescriptionCompat getDescription()
    {
        android.support.v4.media.MediaDescriptionCompat v19_17;
        if (this.mDescription == null) {
            String v12 = this.getString("android.media.metadata.MEDIA_ID");
            android.support.v4.media.MediaDescriptionCompat v0_4 = new CharSequence[3];
            CharSequence[] v16 = v0_4;
            CharSequence v8 = 0;
            android.net.Uri v9 = 0;
            CharSequence v6 = this.getText("android.media.metadata.DISPLAY_TITLE");
            if (android.text.TextUtils.isEmpty(v6)) {
                int v17 = 0;
                int v10 = 0;
                while ((v17 < v16.length) && (v10 < android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER.length)) {
                    int v11 = (v10 + 1);
                    String v15_0 = this.getText(android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER[v10]);
                    if (!android.text.TextUtils.isEmpty(v15_0)) {
                        int v18 = (v17 + 1);
                        v16[v17] = v15_0;
                        v17 = v18;
                    }
                    v10 = v11;
                }
            } else {
                v16[0] = v6;
                v16[1] = this.getText("android.media.metadata.DISPLAY_SUBTITLE");
                v16[2] = this.getText("android.media.metadata.DISPLAY_DESCRIPTION");
            }
            int v7_0 = 0;
            while (v7_0 < android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER.length) {
                String v15_1 = this.getBitmap(android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER[v7_0]);
                if (v15_1 == null) {
                    v7_0++;
                } else {
                    v8 = v15_1;
                    break;
                }
            }
            int v7_1 = 0;
            while (v7_1 < android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER.length) {
                String v15_2 = this.getString(android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER[v7_1]);
                if (android.text.TextUtils.isEmpty(v15_2)) {
                    v7_1++;
                } else {
                    v9 = android.net.Uri.parse(v15_2);
                    break;
                }
            }
            android.net.Uri v13 = 0;
            String v14 = this.getString("android.media.metadata.MEDIA_URI");
            if (!android.text.TextUtils.isEmpty(v14)) {
                v13 = android.net.Uri.parse(v14);
            }
            android.support.v4.media.MediaDescriptionCompat$Builder v4_1 = new android.support.v4.media.MediaDescriptionCompat$Builder();
            v4_1.setMediaId(v12);
            v4_1.setTitle(v16[0]);
            v4_1.setSubtitle(v16[1]);
            v4_1.setDescription(v16[2]);
            v4_1.setIconBitmap(v8);
            v4_1.setIconUri(v9);
            v4_1.setMediaUri(v13);
            android.os.Bundle v5_1 = new android.os.Bundle();
            if (this.mBundle.containsKey("android.media.metadata.BT_FOLDER_TYPE")) {
                v5_1.putLong("android.media.extra.BT_FOLDER_TYPE", this.getLong("android.media.metadata.BT_FOLDER_TYPE"));
            }
            if (this.mBundle.containsKey("android.media.metadata.DOWNLOAD_STATUS")) {
                v5_1.putLong("android.media.extra.DOWNLOAD_STATUS", this.getLong("android.media.metadata.DOWNLOAD_STATUS"));
            }
            if (!v5_1.isEmpty()) {
                v4_1.setExtras(v5_1);
            }
            this.mDescription = v4_1.build();
            v19_17 = this.mDescription;
        } else {
            v19_17 = this.mDescription;
        }
        return v19_17;
    }

Method android.support.v4.app.RemoteInput.getDataResultsFromIntent() calling method android.net.Uri.parse()


    public static java.util.Map getDataResultsFromIntent(android.content.Intent p10, String p11)
    {
        java.util.Map v7 = 0;
        if (android.os.Build$VERSION.SDK_INT < 26) {
            if (android.os.Build$VERSION.SDK_INT < 16) {
                android.util.Log.w("RemoteInput", "RemoteInput is only supported from API Level 16");
            } else {
                android.content.Intent v1 = android.support.v4.app.RemoteInput.getClipDataIntentFromIntent(p10);
                if (v1 != null) {
                    java.util.Map v5_1 = new java.util.HashMap();
                    boolean v8_2 = v1.getExtras().keySet().iterator();
                    while (v8_2.hasNext()) {
                        String v3_1 = ((String) v8_2.next());
                        if (v3_1.startsWith("android.remoteinput.dataTypeResultsData")) {
                            String v4 = v3_1.substring("android.remoteinput.dataTypeResultsData".length());
                            if (!v4.isEmpty()) {
                                String v6 = v1.getBundleExtra(v3_1).getString(p11);
                                if ((v6 != null) && (!v6.isEmpty())) {
                                    v5_1.put(v4, android.net.Uri.parse(v6));
                                }
                            }
                        }
                    }
                    if (v5_1.isEmpty()) {
                        v5_1 = 0;
                    }
                    v7 = v5_1;
                }
            }
        } else {
            v7 = android.app.RemoteInput.getDataResultsFromIntent(p10, p11);
        }
        return v7;
    }

Method com.unity3d.services.core.webview.WebView.loadUrl() calling method android.webkit.WebView.loadUrl()


    public void loadUrl(String p3)
    {
        com.unity3d.services.core.log.DeviceLog.debug(new StringBuilder().append("Loading url: ").append(p3).toString());
        super.loadUrl(p3);
        return;
    }