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/razorpay/Checkout;', 'preload', '(Landroid/content/Context;)V'), ('Lcom/razorpay/BaseUtils;', 'setWebViewSettings', '(Landroid/content/Context; Landroid/webkit/WebView; Z)V'), ('Lcom/razorpay/BaseUtils;', 'enableJavaScriptInWebView', '(Landroid/webkit/WebView;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.razorpay.Checkout.preload():


    public static void preload(android.content.Context p2)
    {
        com.razorpay.Checkout.R$$r_ = 0;
        com.razorpay.Checkout.d__1_ = 0;
        com.razorpay.Checkout.Q_$2$ = 0;
        android.webkit.WebView v2_4 = p2.getApplicationContext();
        com.razorpay.Checkout.a_$P$ = new android.webkit.WebView(v2_4);
        com.razorpay.BaseUtils.setWebViewSettings(v2_4, com.razorpay.Checkout.a_$P$, 0);
        com.razorpay.Checkout.a_$P$.setWebViewClient(new com.razorpay.Checkout$3());
        com.razorpay.Checkout.a_$P$.setWebChromeClient(new com.razorpay.Checkout$4());
        com.razorpay.Checkout.a_$P$.loadUrl("https://api.razorpay.com/v1/checkout/public");
        return;
    }

Method com.razorpay.BaseUtils.setWebViewSettings():


    public static void setWebViewSettings(android.content.Context p8, android.webkit.WebView p9, boolean p10)
    {
        com.razorpay.BaseUtils.setBaseWebViewSettings();
        com.razorpay.BaseUtils.enableJavaScriptInWebView(p9);
        android.webkit.CookieManager.getInstance().setAcceptCookie(1);
        android.webkit.WebSettings v0_1 = p9.getSettings();
        v0_1.setDomStorageEnabled(1);
        v0_1.setDatabaseEnabled(1);
        int v2_2 = p8.getApplicationContext().getDir("database", 0).getPath();
        if (android.os.Build$VERSION.SDK_INT < 19) {
            int v4_5;
            int v4_3 = (com.razorpay.BaseUtils.a_$P$ + 17);
            com.razorpay.BaseUtils.d__1_ = (v4_3 % 128);
            if ((v4_3 % 2) == 0) {
                v4_5 = 0;
            } else {
                v4_5 = 1;
            }
            if (v4_5 == 0) {
                v0_1.setDatabasePath(v2_2);
            } else {
                v0_1.setDatabasePath(v2_2);
            }
        }
        int v4_8;
        if (android.os.Build$VERSION.SDK_INT >= 24) {
            v4_8 = 1;
        } else {
            v4_8 = 0;
        }
        if (v4_8 != 1) {
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 21) % 128);
            v0_1.setGeolocationDatabasePath(v2_2);
        }
        if (android.os.Build$VERSION.SDK_INT >= 21) {
            android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(p9, 1);
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 69) % 128);
        }
        if (p10 == 1) {
            com.razorpay.BaseUtils.d__1_ = ((com.razorpay.BaseUtils.a_$P$ + 5) % 128);
            v0_1.setCacheMode(2);
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 29) % 128);
        }
        v0_1.setSaveFormData(0);
        p9.addJavascriptInterface(new com.razorpay.N$$J$(p8), "StorageBridge");
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 75) % 128);
        return;
    }

Method com.razorpay.BaseUtils.enableJavaScriptInWebView():


    public static void enableJavaScriptInWebView(android.webkit.WebView p2)
    {
        int v2_3;
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 123) % 128);
        p2.getSettings().setJavaScriptEnabled(1);
        int v2_1 = (com.razorpay.BaseUtils.d__1_ + 55);
        com.razorpay.BaseUtils.a_$P$ = (v2_1 % 128);
        if ((v2_1 % 2) != 0) {
            v2_3 = 60;
        } else {
            v2_3 = 37;
        }
        if (v2_3 == 37) {
            throw 0;
        } else {
            return;
        }
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/razorpay/BaseUtils;', 'setWebViewSettings', '(Landroid/content/Context; Landroid/webkit/WebView; Z)V'), ('Lcom/razorpay/BaseUtils;', 'enableJavaScriptInWebView', '(Landroid/webkit/WebView;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.razorpay.BaseUtils.setWebViewSettings():


    public static void setWebViewSettings(android.content.Context p8, android.webkit.WebView p9, boolean p10)
    {
        com.razorpay.BaseUtils.setBaseWebViewSettings();
        com.razorpay.BaseUtils.enableJavaScriptInWebView(p9);
        android.webkit.CookieManager.getInstance().setAcceptCookie(1);
        android.webkit.WebSettings v0_1 = p9.getSettings();
        v0_1.setDomStorageEnabled(1);
        v0_1.setDatabaseEnabled(1);
        int v2_2 = p8.getApplicationContext().getDir("database", 0).getPath();
        if (android.os.Build$VERSION.SDK_INT < 19) {
            int v4_5;
            int v4_3 = (com.razorpay.BaseUtils.a_$P$ + 17);
            com.razorpay.BaseUtils.d__1_ = (v4_3 % 128);
            if ((v4_3 % 2) == 0) {
                v4_5 = 0;
            } else {
                v4_5 = 1;
            }
            if (v4_5 == 0) {
                v0_1.setDatabasePath(v2_2);
            } else {
                v0_1.setDatabasePath(v2_2);
            }
        }
        int v4_8;
        if (android.os.Build$VERSION.SDK_INT >= 24) {
            v4_8 = 1;
        } else {
            v4_8 = 0;
        }
        if (v4_8 != 1) {
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 21) % 128);
            v0_1.setGeolocationDatabasePath(v2_2);
        }
        if (android.os.Build$VERSION.SDK_INT >= 21) {
            android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(p9, 1);
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 69) % 128);
        }
        if (p10 == 1) {
            com.razorpay.BaseUtils.d__1_ = ((com.razorpay.BaseUtils.a_$P$ + 5) % 128);
            v0_1.setCacheMode(2);
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 29) % 128);
        }
        v0_1.setSaveFormData(0);
        p9.addJavascriptInterface(new com.razorpay.N$$J$(p8), "StorageBridge");
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 75) % 128);
        return;
    }

Method com.razorpay.BaseUtils.enableJavaScriptInWebView():


    public static void enableJavaScriptInWebView(android.webkit.WebView p2)
    {
        int v2_3;
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 123) % 128);
        p2.getSettings().setJavaScriptEnabled(1);
        int v2_1 = (com.razorpay.BaseUtils.d__1_ + 55);
        com.razorpay.BaseUtils.a_$P$ = (v2_1 % 128);
        if ((v2_1 % 2) != 0) {
            v2_3 = 60;
        } else {
            v2_3 = 37;
        }
        if (v2_3 == 37) {
            throw 0;
        } else {
            return;
        }
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/razorpay/BaseUtils;', 'enableJavaScriptInWebView', '(Landroid/webkit/WebView;)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.razorpay.BaseUtils.enableJavaScriptInWebView():


    public static void enableJavaScriptInWebView(android.webkit.WebView p2)
    {
        int v2_3;
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 123) % 128);
        p2.getSettings().setJavaScriptEnabled(1);
        int v2_1 = (com.razorpay.BaseUtils.d__1_ + 55);
        com.razorpay.BaseUtils.a_$P$ = (v2_1 % 128);
        if ((v2_1 % 2) != 0) {
            v2_3 = 60;
        } else {
            v2_3 = 37;
        }
        if (v2_3 == 37) {
            throw 0;
        } else {
            return;
        }
    }

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

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity.onCreate() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.setContentView(2131427408);
        this.a = ((android.webkit.WebView) this.findViewById(2131297229));
        this.b = c.g.a.c.h.o.a(this);
        this.b.k();
        this.f = this.b.n();
        this.a.getSettings().setJavaScriptEnabled(1);
        this.a.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.a.getSettings().setLoadWithOverviewMode(1);
        this.a.getSettings().setAllowFileAccess(1);
        this.a.getSettings().setDomStorageEnabled(1);
        if (android.os.Build$VERSION.SDK_INT > 18) {
            this.a.getSettings().setCacheMode(2);
        }
        android.webkit.WebView v5_19 = android.os.Build$VERSION.SDK_INT;
        if (v5_19 < 19) {
            if (v5_19 < 19) {
                this.a.setLayerType(1, 0);
            }
        } else {
            this.a.setLayerType(2, 0);
        }
        this.a.setDownloadListener(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$a(this, 0));
        this.a.setWebChromeClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$b(this, 0));
        this.a.setWebViewClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$c(this, 0));
        android.webkit.WebView v5_28 = new StringBuilder();
        v5_28.append("https://madhuban.rarome.com/index.php/?login/login_by_android_token/");
        v5_28.append(this.b.m());
        android.webkit.WebView v5_29 = v5_28.toString();
        android.webkit.WebView v0_11 = new StringBuilder();
        v0_11.append("cURL Is : ");
        v0_11.append(v5_29);
        android.util.Log.i("cURL ", v0_11.toString());
        this.a.loadUrl(v5_29);
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.WebViewActivity.onCreate() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.getWindow().requestFeature(2);
        this.setContentView(2131427408);
        this.d = ((android.webkit.WebView) this.findViewById(2131297229));
        this.d.getSettings().setJavaScriptEnabled(1);
        this.d.getSettings().setUseWideViewPort(1);
        this.d.getSettings().setAllowFileAccess(1);
        String v5_16 = android.os.Build$VERSION.SDK_INT;
        if (v5_16 < 19) {
            if (v5_16 < 19) {
                this.d.setLayerType(1, 0);
            }
        } else {
            this.d.setLayerType(2, 0);
            this.d.getSettings().setCacheMode(2);
        }
        String v5_6;
        this.d.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.d.getSettings().setLoadWithOverviewMode(1);
        this.d.getSettings().setAllowFileAccess(1);
        this.d.getSettings().setDomStorageEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setLoadsImagesAutomatically(1);
        this.e = this.getIntent().getStringExtra("file_url");
        c.a.a.a.a.b(c.a.a.a.a.a("file_url "), this.e, this.f);
        if ((!this.e.endsWith(".png")) && ((!this.e.endsWith(".jpeg")) && (!this.e.endsWith(".jpg")))) {
            if ((!this.e.endsWith(".pdf")) && (!this.e.endsWith(".doc"))) {
                String v5_4 = new StringBuilder();
            } else {
                v5_4 = new StringBuilder();
            }
            v5_4.append("https://docs.google.com/gview?embedded=true&url=");
            v5_4.append(this.e);
            v5_6 = v5_4.toString();
        } else {
            v5_6 = this.e;
        }
        this.g = v5_6;
        this.d.setWebViewClient(new c.g.a.c.a.U(this));
        this.d.loadUrl(this.g);
        return;
    }

Method com.razorpay.BaseUtils.enableJavaScriptInWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public static void enableJavaScriptInWebView(android.webkit.WebView p2)
    {
        int v2_3;
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 123) % 128);
        p2.getSettings().setJavaScriptEnabled(1);
        int v2_1 = (com.razorpay.BaseUtils.d__1_ + 55);
        com.razorpay.BaseUtils.a_$P$ = (v2_1 % 128);
        if ((v2_1 % 2) != 0) {
            v2_3 = 60;
        } else {
            v2_3 = 37;
        }
        if (v2_3 == 37) {
            throw 0;
        } else {
            return;
        }
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity.onCreate() calling method android.webkit.WebSettings.setAllowFileAccess()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.setContentView(2131427408);
        this.a = ((android.webkit.WebView) this.findViewById(2131297229));
        this.b = c.g.a.c.h.o.a(this);
        this.b.k();
        this.f = this.b.n();
        this.a.getSettings().setJavaScriptEnabled(1);
        this.a.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.a.getSettings().setLoadWithOverviewMode(1);
        this.a.getSettings().setAllowFileAccess(1);
        this.a.getSettings().setDomStorageEnabled(1);
        if (android.os.Build$VERSION.SDK_INT > 18) {
            this.a.getSettings().setCacheMode(2);
        }
        android.webkit.WebView v5_19 = android.os.Build$VERSION.SDK_INT;
        if (v5_19 < 19) {
            if (v5_19 < 19) {
                this.a.setLayerType(1, 0);
            }
        } else {
            this.a.setLayerType(2, 0);
        }
        this.a.setDownloadListener(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$a(this, 0));
        this.a.setWebChromeClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$b(this, 0));
        this.a.setWebViewClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$c(this, 0));
        android.webkit.WebView v5_28 = new StringBuilder();
        v5_28.append("https://madhuban.rarome.com/index.php/?login/login_by_android_token/");
        v5_28.append(this.b.m());
        android.webkit.WebView v5_29 = v5_28.toString();
        android.webkit.WebView v0_11 = new StringBuilder();
        v0_11.append("cURL Is : ");
        v0_11.append(v5_29);
        android.util.Log.i("cURL ", v0_11.toString());
        this.a.loadUrl(v5_29);
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.WebViewActivity.onCreate() calling method android.webkit.WebSettings.setAllowFileAccess()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.getWindow().requestFeature(2);
        this.setContentView(2131427408);
        this.d = ((android.webkit.WebView) this.findViewById(2131297229));
        this.d.getSettings().setJavaScriptEnabled(1);
        this.d.getSettings().setUseWideViewPort(1);
        this.d.getSettings().setAllowFileAccess(1);
        String v5_16 = android.os.Build$VERSION.SDK_INT;
        if (v5_16 < 19) {
            if (v5_16 < 19) {
                this.d.setLayerType(1, 0);
            }
        } else {
            this.d.setLayerType(2, 0);
            this.d.getSettings().setCacheMode(2);
        }
        String v5_6;
        this.d.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.d.getSettings().setLoadWithOverviewMode(1);
        this.d.getSettings().setAllowFileAccess(1);
        this.d.getSettings().setDomStorageEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setLoadsImagesAutomatically(1);
        this.e = this.getIntent().getStringExtra("file_url");
        c.a.a.a.a.b(c.a.a.a.a.a("file_url "), this.e, this.f);
        if ((!this.e.endsWith(".png")) && ((!this.e.endsWith(".jpeg")) && (!this.e.endsWith(".jpg")))) {
            if ((!this.e.endsWith(".pdf")) && (!this.e.endsWith(".doc"))) {
                String v5_4 = new StringBuilder();
            } else {
                v5_4 = new StringBuilder();
            }
            v5_4.append("https://docs.google.com/gview?embedded=true&url=");
            v5_4.append(this.e);
            v5_6 = v5_4.toString();
        } else {
            v5_6 = this.e;
        }
        this.g = v5_6;
        this.d.setWebViewClient(new c.g.a.c.a.U(this));
        this.d.loadUrl(this.g);
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity.onActivityResult() calling method android.net.Uri.parse()


    public void onActivityResult(int p3, int p4, android.content.Intent p5)
    {
        super.onActivityResult(p3, p4, p5);
        if (p3 == 1) {
            android.net.Uri[] v5_1;
            if (p4 != -1) {
                v5_1 = 0;
            } else {
                if (p5 != null) {
                    android.net.Uri v4_6 = p5.getDataString();
                    if (v4_6 == null) {
                    } else {
                        v5_1 = new android.net.Uri[1];
                        v5_1[0] = android.net.Uri.parse(v4_6);
                    }
                } else {
                    android.net.Uri v4_2 = this.e;
                    if (v4_2 == null) {
                    } else {
                        v5_1 = new android.net.Uri[1];
                        v5_1[0] = android.net.Uri.parse(v4_2);
                    }
                }
            }
            this.d.onReceiveValue(v5_1);
            this.d = 0;
        } else {
            if (p3 == 3) {
                android.webkit.ValueCallback v3_2;
                if (p5 == null) {
                    v3_2 = 0;
                } else {
                    v3_2 = p5.getData();
                }
                this.c.onReceiveValue(v3_2);
                this.c = 0;
            }
        }
        return;
    }

Method a.b.f.h._a.a() calling method android.net.Uri.parse()

Couldn't retrieve source code

Method com.razorpay.f$_G$.a_$P$() calling method android.net.Uri.parse()


    public static void a_$P$(android.content.Context p6, String p7)
    {
        if (com.razorpay.f$_G$.d__1_ == null) {
            java.util.HashMap v0_4 = new com.razorpay.f$_G$();
            com.razorpay.f$_G$.d__1_ = v0_4;
            com.razorpay.J$$A_.a_$P$ = v0_4;
        }
        if (com.razorpay.f$_G$.d__1_.G__G_()) {
            java.util.HashMap v0_2 = new java.util.HashMap();
            v0_2.put("AuthKey", com.razorpay.f$_G$.b__J_);
            v0_2.put("Content-type", "application/json");
            String v3_11 = 0;
            com.razorpay.O_$B_$2 v1_5 = com.razorpay.Q__v$.G__G_(p6).getString("rzp_config_version", 0);
            if (v1_5 == null) {
                v1_5 = com.razorpay.f$_G$.D$_X_;
            }
            v0_2.put("CurrentSettingVersion", v1_5);
            if (com.razorpay.f$_G$.d__1_ == null) {
                com.razorpay.O_$B_$2 v1_8 = new com.razorpay.f$_G$();
                com.razorpay.f$_G$.d__1_ = v1_8;
                com.razorpay.J$$A_.a_$P$ = v1_8;
            }
            com.razorpay.O_$B_$2 v1_12 = android.net.Uri.parse(com.razorpay.f$_G$.d__1_.Q_$2$()).buildUpon();
            boolean v4_2 = new StringBuilder("android_");
            v4_2.append(com.razorpay.f$_G$.R$$r_);
            com.razorpay.O_$B_$2 v1_18 = v1_12.appendQueryParameter("tenant", v4_2.toString()).appendQueryParameter("sdk_version", com.razorpay.f$_G$.a_$P$).appendQueryParameter("sdk_type", com.razorpay.f$_G$.R$$r_).appendQueryParameter("magic_enabled", String.valueOf(com.razorpay.f$_G$.G__G_)).appendQueryParameter("sdk_version_code", String.valueOf(com.razorpay.f$_G$.Q_$2$)).appendQueryParameter("app_version", "1.5.2");
            String v2_21 = com.razorpay.Q__v$.G__G_(p6).getString("rzp_config_version", 0);
            if (v2_21 == null) {
                v2_21 = com.razorpay.f$_G$.D$_X_;
            }
            String v2_22 = java.util.regex.Pattern.compile("^(\\d+\\.)(\\d+\\.)(\\d+)$").matcher(v2_21);
            if (v2_22.find()) {
                v3_11 = v2_22.replaceFirst("$1$2*");
            }
            com.razorpay.O_$B_$2 v1_19 = v1_18.appendQueryParameter("version", v3_11);
            v1_19.appendQueryParameter("merchant_key_id", p7).appendQueryParameter("android_version", android.os.Build$VERSION.RELEASE).appendQueryParameter("device_id", com.razorpay.BaseUtils.getDeviceId(p6)).appendQueryParameter("device_manufacturer", android.os.Build.MANUFACTURER).appendQueryParameter("device_model", android.os.Build.MODEL).appendQueryParameter("network_type", com.razorpay.BaseUtils.getDataNetworkType(p6).d__1_()).appendQueryParameter("cellular_network_type", com.razorpay.BaseUtils.getCellularNetworkType(p6)).appendQueryParameter("cellular_network_provider", com.razorpay.BaseUtils.getCellularNetworkProviderName(p6)).appendQueryParameter("app_package_name", p6.getApplicationContext().getPackageName()).appendQueryParameter("build_type", com.razorpay.BaseUtils.getAppBuildType(p6)).appendQueryParameter("magic_version_code", String.valueOf(com.razorpay.B_$q$.d__1_.intValue())).appendQueryParameter("rzpassist_version_code", String.valueOf(com.razorpay.B_$q$.R$$r_.intValue())).appendQueryParameter("webview_user_agent", com.razorpay.BaseUtils.getWebViewUserAgent(p6).toString());
            com.razorpay.b_$A$.a_$P$(v1_19.build().toString(), v0_2, new com.razorpay.O_$B_$2(p6));
            return;
        } else {
            return;
        }
    }

Method com.google.android.gms.auth.api.signin.GoogleSignInAccount.a() calling method android.net.Uri.parse()


    public static ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> a(String p20)
    {
        if (!android.text.TextUtils.isEmpty(p20)) {
            int v9;
            String v0_2 = new org.json.JSONObject(p20);
            String v2_14 = v0_2.optString("photoUrl", 0);
            if (android.text.TextUtils.isEmpty(v2_14)) {
                v9 = 0;
            } else {
                v9 = android.net.Uri.parse(v2_14);
            }
            String v2_3 = Long.parseLong(v0_2.getString("expirationTime"));
            int v4_1 = new java.util.HashSet();
            String v5_1 = v0_2.getJSONArray("grantedScopes");
            String v6_0 = v5_1.length();
            String v7_0 = 0;
            while (v7_0 < v6_0) {
                v4_1.add(new com.google.android.gms.common.api.Scope(1, v5_1.getString(v7_0)));
                v7_0++;
            }
            String v5_3 = v0_2.optString("id");
            String v6_2 = v0_2.optString("tokenId", 0);
            String v7_2 = v0_2.optString("email", 0);
            String v8_1 = v0_2.optString("displayName", 0);
            String v15 = v0_2.optString("givenName", 0);
            String v16 = v0_2.optString("familyName", 0);
            String v2_5 = Long.valueOf(v2_3);
            String v13 = v0_2.getString("obfuscatedIdentifier");
            if (v2_5 == null) {
                v2_5 = Long.valueOf((((c.e.a.a.c.d.b) ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark>.a).a() / 1000));
            }
            java.util.ArrayList v14_0 = new ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark>;
            long v17 = v2_5.longValue();
            a.b.f.a.H.c(v13);
            a.b.f.a.H.d(v4_1);
            ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> v19 = v14_0;
            v14_0(3, v5_3, v6_2, v7_2, v8_1, v9, 0, v17, v13, new java.util.ArrayList(v4_1), v15, v16);
            ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> v1_1 = v19;
            v1_1.h = v0_2.optString("serverAuthCode", 0);
            return v1_1;
        } else {
            return 0;
        }
    }

Method c.d.a.d.c.r.a() calling method android.net.Uri.parse()


    public c.d.a.d.a.c a(Object p3, int p4, int p5)
    {
        c.d.a.d.a.c v3_3;
        if (!android.text.TextUtils.isEmpty(((String) p3))) {
            android.net.Uri v0_0;
            if (!((String) p3).startsWith("/")) {
                v0_0 = android.net.Uri.parse(((String) p3));
                if (v0_0.getScheme() == null) {
                    v0_0 = ark>c.d.a.d.c.rark>.a(((String) p3));
                }
            }
            v3_3 = this.a.a(v0_0, p4, p5);
        } else {
            v3_3 = 0;
        }
        return v3_3;
    }

Method c.d.a.d.c.p.a() calling method android.net.Uri.parse()


    public c.d.a.d.a.c a(Object p6, int p7, int p8)
    {
        c.d.a.d.a.c v0_0 = 0;
        try {
            android.content.res.Resources$NotFoundException v1_2 = new StringBuilder();
            v1_2.append("android.resource://");
            v1_2.append(this.b.getResourcePackageName(((Integer) p6).intValue()));
            v1_2.append(47);
            v1_2.append(this.b.getResourceTypeName(((Integer) p6).intValue()));
            v1_2.append(47);
            v1_2.append(this.b.getResourceEntryName(((Integer) p6).intValue()));
            int v6_2 = android.net.Uri.parse(v1_2.toString());
        } catch (android.content.res.Resources$NotFoundException v1_3) {
            if (android.util.Log.isLoggable("ResourceLoader", 5)) {
                StringBuilder v2_7 = new StringBuilder();
                v2_7.append("Received invalid resource id: ");
                v2_7.append(v6_2);
                android.util.Log.w("ResourceLoader", v2_7.toString(), v1_3);
            }
            v6_2 = 0;
        }
        if (v6_2 != 0) {
            v0_0 = this.a.a(v6_2, p7, p8);
        }
        return v0_0;
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$a.onDownloadStart() calling method android.net.Uri.parse()


    public void onDownloadStart(String p1, String p2, String p3, String p4, long p5)
    {
        if ((android.os.Build$VERSION.SDK_INT >= 23) && (this.a.checkSelfPermission("android.permission.WRITE_EXTERNAL_STORAGE") != 0)) {
            android.util.Log.v("ProfileWebview", "Permission is revoked");
            String v2_2 = this.a;
            String v3_1 = new String[1];
            int v4_0 = 0;
            v3_1[0] = "android.permission.WRITE_EXTERNAL_STORAGE";
            a.b.e.a.b.a(v2_2, v3_1, 1);
        } else {
            android.util.Log.v("ProfileWebview", "Permission is granted");
            v4_0 = 1;
        }
        if (v4_0 == 1) {
            String v2_4 = new android.app.DownloadManager$Request(android.net.Uri.parse(p1));
            v2_4.allowScanningByMediaScanner();
            v2_4.setNotificationVisibility(1);
            v2_4.setDestinationInExternalPublicDir(android.os.Environment.DIRECTORY_DOWNLOADS, "ADIS");
            ((android.app.DownloadManager) this.a.getSystemService("download")).enqueue(v2_4);
            android.widget.Toast v1_7 = new android.content.Intent("android.intent.action.OPEN_DOCUMENT");
            v1_7.addCategory("android.intent.category.OPENABLE");
            v1_7.setType("*/*");
            android.widget.Toast.makeText(this.a.getApplicationContext(), "File Downloading on Process", 1).show();
        }
        return;
    }

Method com.razorpay.BaseUtils.startActivityForResult() calling method android.net.Uri.parse()


    public static void startActivityForResult(String p5, String p6, android.app.Activity p7)
    {
        int v1_3;
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        v0_1.setData(android.net.Uri.parse(p5));
        if (p6 == 0) {
            v1_3 = 47;
        } else {
            v1_3 = 48;
        }
        if (v1_3 == 48) {
            int v5_4;
            int v5_2 = (com.razorpay.BaseUtils.d__1_ + 3);
            com.razorpay.BaseUtils.a_$P$ = (v5_2 % 128);
            int v1_2 = 0;
            if ((v5_2 % 2) != 0) {
                v5_4 = 1;
            } else {
                v5_4 = 0;
            }
            if (v5_4 != 1) {
                p6.length();
                throw 0;
            } else {
                if (p6.length() > 0) {
                    int v5_7 = (com.razorpay.BaseUtils.d__1_ + 75);
                    com.razorpay.BaseUtils.a_$P$ = (v5_7 % 128);
                    if ((v5_7 % 2) != 0) {
                        v1_2 = 1;
                    }
                    if (v1_2 != 1) {
                        v0_1.setPackage(p6);
                        throw 0;
                    } else {
                        v0_1.setPackage(p6);
                    }
                }
            }
        }
        int v5_14;
        p7.startActivityForResult(v0_1, 99);
        int v5_12 = (com.razorpay.BaseUtils.a_$P$ + 57);
        com.razorpay.BaseUtils.d__1_ = (v5_12 % 128);
        if ((v5_12 % 2) == 0) {
            v5_14 = 71;
        } else {
            v5_14 = 70;
        }
        // Both branches of the condition point to the same code.
        // if (v5_14 == 71) {
            return;
        // }
    }

Method com.razorpay.BaseUtils.getListOfAppsWhichHandleDeepLink() calling method android.net.Uri.parse()


    public static java.util.List getListOfAppsWhichHandleDeepLink(android.content.Context p1, String p2)
    {
        int v0_1 = new android.content.Intent();
        v0_1.setData(android.net.Uri.parse(p2));
        java.util.List v1_2 = p1.getPackageManager().queryIntentActivities(v0_1, 131072);
        com.razorpay.BaseUtils.d__1_ = ((com.razorpay.BaseUtils.a_$P$ + 3) % 128);
        return v1_2;
    }

Method com.google.android.gms.dynamite.DynamiteModule.b() calling method android.net.Uri.parse()


    public static int b(android.content.Context p8, String p9, boolean p10)
    {
        Throwable v0 = 0;
        try {
            Throwable v8_4;
            android.database.Cursor v1_0 = p8.getContentResolver();
        } catch (Throwable v8_6) {
            if (v0 != null) {
                v0.close();
            }
            throw v8_6;
        } catch (Throwable v8_5) {
            Throwable v9_9 = 0;
            try {
                if (!(v8_5 instanceof com.google.android.gms.dynamite.DynamiteModule$c)) {
                    throw new com.google.android.gms.dynamite.DynamiteModule$c("V2 version check failed", v8_5, 0);
                } else {
                    throw v8_5;
                }
            } catch (Throwable v8_6) {
                v0 = v9_9;
            }
            if (Throwable v8_3 != null) {
                v8_3.close();
            }
            return Throwable v9_6;
        }
        if (p10 == null) {
            v8_4 = "api";
        } else {
            v8_4 = "api_force_staging";
        }
        android.net.Uri v2_3 = new StringBuilder(((v8_4.length() + 42) + String.valueOf(p9).length()));
        v2_3.append("content://com.google.android.gms.chimera/");
        v2_3.append(v8_4);
        v2_3.append("/");
        v2_3.append(p9);
        v8_3 = v1_0.query(android.net.Uri.parse(v2_3.toString()), 0, 0, 0, 0);
        try {
            if ((v8_3 == null) || (!v8_3.moveToFirst())) {
                android.util.Log.w("DynamiteModule", "Failed to retrieve remote module version.");
                throw new com.google.android.gms.dynamite.DynamiteModule$c("Failed to connect to dynamite module ContentResolver.", 0);
            } else {
                v9_6 = v8_3.getInt(0);
                if (v9_6 > null) {
                    com.google.android.gms.dynamite.DynamiteModule.d = v8_3.getString(2);
                    com.google.android.gms.dynamite.DynamiteModule$a v10_9 = ((com.google.android.gms.dynamite.DynamiteModule$a) com.google.android.gms.dynamite.DynamiteModule.e.get());
                    if ((v10_9 != null) && (v10_9.a == null)) {
                        v10_9.a = v8_3;
                        v8_3 = 0;
                    }
                }
            }
        } catch (Throwable v9_10) {
            v0 = v8_3;
            v8_6 = v9_10;
        } catch (Throwable v9_8) {
            v9_9 = v8_3;
            v8_5 = v9_8;
        }
    }

Method c.h.a.z.a() calling method android.net.Uri.parse()


    public c.h.a.H a(String p3)
    {
        if (p3 != null) {
            if (p3.trim().length() == 0) {
                throw new IllegalArgumentException("Path must not be empty.");
            } else {
                return this.a(android.net.Uri.parse(p3));
            }
        } else {
            return new c.h.a.H(this, 0, 0);
        }
    }

Method c.e.b.c.d.c() calling method android.net.Uri.parse()


    public final boolean c(android.os.Bundle p19)
    {
        if (!"1".equals(c.e.b.c.d.a(p19, "gcm.n.noui"))) {
            reflect.Method v1_61;
            if (((android.app.KeyguardManager) this.b.getSystemService("keyguard")).inKeyguardRestrictedInputMode()) {
                v1_61 = 0;
            } else {
                if (!a.b.f.a.H.d()) {
                    android.os.SystemClock.sleep(10);
                }
                reflect.Method v1_32 = android.os.Process.myPid();
                String v3_4 = ((android.app.ActivityManager) this.b.getSystemService("activity")).getRunningAppProcesses();
                if (v3_4 == null) {
                } else {
                    String v3_9 = v3_4.iterator();
                    while (v3_9.hasNext()) {
                        android.app.NotificationManager v4_3 = ((android.app.ActivityManager$RunningAppProcessInfo) v3_9.next());
                        if (v4_3.pid == v1_32) {
                            if (v4_3.importance != 100) {
                                break;
                            }
                            v1_61 = 1;
                        }
                    }
                }
            }
            if (v1_61 == null) {
                reflect.Method v1_66 = this.d(p19, "gcm.n.title");
                if (android.text.TextUtils.isEmpty(v1_66)) {
                    v1_66 = this.b.getApplicationInfo().loadLabel(this.b.getPackageManager());
                }
                int v5_5;
                String v3_19 = v1_66;
                android.app.NotificationManager v4_12 = this.d(p19, "gcm.n.body");
                reflect.Method v1_73 = c.e.b.c.d.a(p19, "gcm.n.icon");
                if (android.text.TextUtils.isEmpty(v1_73)) {
                    reflect.Method v1_4 = this.a().getInt("com.google.firebase.messaging.default_notification_icon", 0);
                    if ((v1_4 == null) || (!this.a(v1_4))) {
                        v1_4 = this.b.getApplicationInfo().icon;
                    }
                    if ((v1_4 == null) || (!this.a(v1_4))) {
                        v1_4 = 17301651;
                    }
                    v5_5 = v1_4;
                } else {
                    int v5_15 = this.b.getResources();
                    String v6_13 = v5_15.getIdentifier(v1_73, "drawable", this.b.getPackageName());
                    if ((v6_13 == null) || (!this.a(v6_13))) {
                        v5_5 = v5_15.getIdentifier(v1_73, "mipmap", this.b.getPackageName());
                        if ((v5_5 == 0) || (!this.a(v5_5))) {
                            String v6_1 = new StringBuilder(c.a.a.a.a.a(v1_73, 61));
                            v6_1.append("Icon resource ");
                            v6_1.append(v1_73);
                            v6_1.append(" not found. Notification will use default icon.");
                            android.util.Log.w("FirebaseMessaging", v6_1.toString());
                        }
                    } else {
                        v5_5 = v6_13;
                    }
                }
                reflect.Method v1_11;
                reflect.Method v1_9 = c.e.b.c.d.a(p19, "gcm.n.color");
                if (android.os.Build$VERSION.SDK_INT >= 21) {
                    if (!android.text.TextUtils.isEmpty(v1_9)) {
                        try {
                            v1_11 = Integer.valueOf(android.graphics.Color.parseColor(v1_9));
                        } catch (IllegalArgumentException) {
                            StringBuilder v7_2 = new StringBuilder(c.a.a.a.a.a(v1_11, 54));
                            v7_2.append("Color ");
                            v7_2.append(v1_11);
                            v7_2.append(" not valid. Notification will use default color.");
                            android.util.Log.w("FirebaseMessaging", v7_2.toString());
                        }
                        reflect.Method v1_20;
                        String v6_9 = v1_11;
                        reflect.Method v1_19 = c.e.b.c.d.d(p19);
                        if (!android.text.TextUtils.isEmpty(v1_19)) {
                            if (("default".equals(v1_19)) || (this.b.getResources().getIdentifier(v1_19, "raw", this.b.getPackageName()) == 0)) {
                                v1_20 = android.media.RingtoneManager.getDefaultUri(2);
                            } else {
                                Object v2_10 = this.b.getPackageName();
                                int v8_3 = new StringBuilder(c.a.a.a.a.a(v1_19, c.a.a.a.a.a(v2_10, 24)));
                                v8_3.append("android.resource://");
                                v8_3.append(v2_10);
                                v8_3.append("/raw/");
                                v8_3.append(v1_19);
                                v1_20 = android.net.Uri.parse(v8_3.toString());
                            }
                        } else {
                            v1_20 = 0;
                        }
                        Object v2_15;
                        StringBuilder v7_8 = v1_20;
                        reflect.Method v1_25 = c.e.b.c.d.a(p19, "gcm.n.click_action");
                        if (android.text.TextUtils.isEmpty(v1_25)) {
                            reflect.Method v1_26 = c.e.b.c.d.b(p19);
                            if (v1_26 == null) {
                                v2_15 = this.b.getPackageManager().getLaunchIntentForPackage(this.b.getPackageName());
                                if (v2_15 == null) {
                                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                                }
                            } else {
                                v2_15 = new android.content.Intent("android.intent.action.VIEW");
                                v2_15.setPackage(this.b.getPackageName());
                                v2_15.setData(v1_26);
                            }
                        } else {
                            v2_15 = new android.content.Intent(v1_25);
                            v2_15.setPackage(this.b.getPackageName());
                            v2_15.setFlags(268435456);
                        }
                        reflect.Method v1_40;
                        if (v2_15 != null) {
                            v2_15.addFlags(67108864);
                            reflect.Method v1_36 = new android.os.Bundle(p19);
                            com.google.firebase.messaging.FirebaseMessagingService.a(v1_36);
                            v2_15.putExtras(v1_36);
                            reflect.Method v1_38 = v1_36.keySet().iterator();
                            while (v1_38.hasNext()) {
                                int v8_11 = ((String) v1_38.next());
                                if ((v8_11.startsWith("gcm.n.")) || (v8_11.startsWith("gcm.notification."))) {
                                    v2_15.removeExtra(v8_11);
                                }
                            }
                            v1_40 = android.app.PendingIntent.getActivity(this.b, this.f.incrementAndGet(), v2_15, 1073741824);
                        } else {
                            v1_40 = 0;
                        }
                        Object v2_19;
                        if (!com.google.firebase.messaging.FirebaseMessagingService.b(p19)) {
                            v2_19 = 0;
                        } else {
                            Object v2_21 = new android.content.Intent("com.google.firebase.messaging.NOTIFICATION_OPEN");
                            c.e.b.c.d.a(v2_21, p19);
                            v2_21.putExtra("pending_intent", v1_40);
                            v1_40 = c.e.b.a.C.a(this.b, this.f.incrementAndGet(), v2_21);
                            Object v2_23 = new android.content.Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS");
                            c.e.b.c.d.a(v2_23, p19);
                            v2_19 = c.e.b.a.C.a(this.b, this.f.incrementAndGet(), v2_23);
                        }
                        Object v2_25;
                        reflect.Method v1_48;
                        Class v9_8 = v1_40;
                        int v8_18 = v2_19;
                        if ((!a.b.f.a.H.e()) || (this.b.getApplicationInfo().targetSdkVersion <= 25)) {
                            v2_25 = this;
                            reflect.Method v1_47 = new a.b.e.a.U$d(this.b, 0);
                            v1_47.a(1);
                            v1_47.M.icon = v5_5;
                            if (!android.text.TextUtils.isEmpty(v3_19)) {
                                v1_47.c(v3_19);
                            }
                            if (!android.text.TextUtils.isEmpty(v4_12)) {
                                v1_47.b(v4_12);
                                String v3_7 = new a.b.e.a.U$c();
                                v3_7.a(v4_12);
                                v1_47.a(v3_7);
                            }
                            if (v6_9 != null) {
                                v1_47.a(v6_9.intValue());
                            }
                            if (v7_8 != null) {
                                v1_47.a(v7_8);
                            }
                            if (v9_8 != null) {
                                v1_47.a(v9_8);
                            }
                            if (v8_18 != 0) {
                                v1_47.b(v8_18);
                            }
                            v1_48 = v1_47.a();
                        } else {
                            String v16_1;
                            reflect.Method v1_50 = c.e.b.c.d.a(p19, "gcm.n.android_channel_id");
                            if (a.b.f.a.H.e()) {
                                android.app.NotificationManager v13_3 = ((android.app.NotificationManager) this.b.getSystemService(android.app.NotificationManager));
                                try {
                                    if (this.e != null) {
                                        if (android.text.TextUtils.isEmpty(v1_50)) {
                                            reflect.Method v1_55;
                                            v1_50 = this.a().getString("com.google.firebase.messaging.default_notification_channel_id");
                                            if (android.text.TextUtils.isEmpty(v1_50)) {
                                                v1_55 = "Missing Default Notification Channel metadata in AndroidManifest. Default value will be used.";
                                            } else {
                                                Class v11_14 = this.e;
                                                String v14_8 = new Object[1];
                                                v14_8[0] = v1_50;
                                                if (v11_14.invoke(v13_3, v14_8) == null) {
                                                    v1_55 = "Notification Channel set in AndroidManifest.xml has not been created by the app. Default value will be used.";
                                                } else {
                                                    v16_1 = v1_50;
                                                    v1_48 = this.a(v3_19, v4_12, v5_5, v6_9, v7_8, v9_8, v8_18, v16_1);
                                                    v2_25 = this;
                                                    String v3_13 = c.e.b.c.d.a(p19, "gcm.n.tag");
                                                    if (android.util.Log.isLoggable("FirebaseMessaging", 3)) {
                                                        android.util.Log.d("FirebaseMessaging", "Showing notification");
                                                    }
                                                    android.app.NotificationManager v4_11 = ((android.app.NotificationManager) v2_25.b.getSystemService("notification"));
                                                    if (android.text.TextUtils.isEmpty(v3_13)) {
                                                        int v5_11 = android.os.SystemClock.uptimeMillis();
                                                        StringBuilder v7_11 = new StringBuilder(37);
                                                        v7_11.append("FCM-Notification:");
                                                        v7_11.append(v5_11);
                                                        v3_13 = v7_11.toString();
                                                    }
                                                    v4_11.notify(v3_13, 0, v1_48);
                                                    return 1;
                                                }
                                            }
                                            android.util.Log.w("FirebaseMessaging", v1_55);
                                            reflect.Method v1_56 = this.e;
                                            Class v11_17 = new Object[1];
                                            v11_17[0] = "fcm_fallback_notification_channel";
                                            if (v1_56.invoke(v13_3, v11_17) != null) {
                                                v16_1 = "fcm_fallback_notification_channel";
                                            } else {
                                                reflect.Method v1_59 = Class.forName("android.app.NotificationChannel");
                                                Class v11_19 = new Class[3];
                                                v11_19[0] = String;
                                                v11_19[1] = CharSequence;
                                                v11_19[2] = Integer.TYPE;
                                                Class v11_20 = v1_59.getConstructor(v11_19);
                                                String v14_14 = new Object[3];
                                                v14_14[0] = "fcm_fallback_notification_channel";
                                                v16_1 = "fcm_fallback_notification_channel";
                                                v14_14[1] = this.b.getString(c.e.a.a.b.fcm_fallback_notification_channel_label);
                                                v14_14[2] = Integer.valueOf(3);
                                                Object v2_31 = v11_20.newInstance(v14_14);
                                                Class v11_21 = v13_3.getClass();
                                                Object[] v10_4 = new Class[1];
                                                v10_4[0] = v1_59;
                                                reflect.Method v1_62 = v11_21.getMethod("createNotificationChannel", v10_4);
                                                Object[] v10_5 = new Object[1];
                                                v10_5[0] = v2_31;
                                                v1_62.invoke(v13_3, v10_5);
                                            }
                                        } else {
                                            Class v11_6 = this.e;
                                            String v14_4 = new Object[1];
                                            v14_4[0] = v1_50;
                                            if (v11_6.invoke(v13_3, v14_4) == null) {
                                                String v14_6 = new StringBuilder((String.valueOf(v1_50).length() + 122));
                                                v14_6.append("Notification Channel requested (");
                                                v14_6.append(v1_50);
                                                v14_6.append(") has not been created by the app. Manifest configuration, or default, value will be used.");
                                                android.util.Log.w("FirebaseMessaging", v14_6.toString());
                                            } else {
                                            }
                                        }
                                    } else {
                                        String v14_2 = v13_3.getClass();
                                        Class v11_3 = new Class[1];
                                        v11_3[0] = String;
                                        this.e = v14_2.getMethod("getNotificationChannel", v11_3);
                                    }
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                } catch (LinkageError v0) {
                                }
                                android.util.Log.e("FirebaseMessaging", "Error while setting the notification channel", v0);
                                v1_50 = 0;
                            }
                        }
                    }
                    reflect.Method v1_16 = this.a().getInt("com.google.firebase.messaging.default_notification_color", 0);
                    if (v1_16 == null) {
                        v1_11 = 0;
                    } else {
                        try {
                            v1_11 = Integer.valueOf(a.b.e.b.a.a(this.b, v1_16));
                        } catch (android.content.res.Resources$NotFoundException) {
                            android.util.Log.w("FirebaseMessaging", "Cannot find the color resource referenced in AndroidManifest.");
                        }
                    }
                }
            } else {
                return 0;
            }
        } else {
            return 1;
        }
    }

Method c.e.b.c.d.b() calling method android.net.Uri.parse()


    public static android.net.Uri b(android.os.Bundle p2)
    {
        String v0_1 = c.e.b.c.d.a(p2, "gcm.n.link_android");
        if (android.text.TextUtils.isEmpty(v0_1)) {
            v0_1 = c.e.b.c.d.a(p2, "gcm.n.link");
        }
        if (android.text.TextUtils.isEmpty(v0_1)) {
            return 0;
        } else {
            return android.net.Uri.parse(v0_1);
        }
    }

Method c.e.a.a.h.Pa.a() calling method android.net.Uri.parse()


    public final void a(android.content.Context p12, android.content.Intent p13)
    {
        c.e.a.a.h.Xa v2 = c.e.a.a.h.Xa.a(p12);
        c.e.a.a.h.ya v7 = v2.o();
        if (p13 != null) {
            c.e.a.a.h.Qa v0_8 = p13.getAction();
            v7.l.a("Local receiver got", v0_8);
            if (!"com.google.android.gms.measurement.UPLOAD".equals(v0_8)) {
                if ("com.android.vending.INSTALL_REFERRER".equals(v0_8)) {
                    android.content.BroadcastReceiver$PendingResult v8 = this.a.a();
                    c.e.a.a.h.Qa v0_3 = p13.getStringExtra("referrer");
                    if (v0_3 != null) {
                        v7.j.a("Install referrer extras are", v0_3);
                        if (!v0_3.contains("?")) {
                            if (v0_3.length() == 0) {
                                v0_3 = new String("?");
                            } else {
                                v0_3 = "?".concat(v0_3);
                            }
                        }
                        android.os.Bundle v5 = v2.s().a(android.net.Uri.parse(v0_3));
                        if (v5 != null) {
                            long v3_6 = (p13.getLongExtra("referrer_timestamp_seconds", 0) * 1000);
                            if (v3_6 == 0) {
                                v7.h.a("Install referrer is missing timestamp");
                            }
                            c.e.a.a.h.Ta v13_3 = v2.p();
                            c.e.a.a.h.Qa v9_1 = new c.e.a.a.h.Qa;
                            v9_1(this, v2, v3_6, v5, p12, v7, v8);
                            v13_3.a(v9_1);
                        } else {
                            v7.l.a("No campaign defined in install referrer broadcast");
                            if (v8 != null) {
                                v8.finish();
                                return;
                            }
                        }
                    } else {
                        v7.l.a("Install referrer extras are null");
                        if (v8 != null) {
                            v8.finish();
                        }
                        return;
                    }
                }
                return;
            } else {
                c.e.a.a.h.Ta v13_8 = new android.content.Intent().setClassName(p12, "com.google.android.gms.measurement.AppMeasurementService");
                v13_8.setAction("com.google.android.gms.measurement.UPLOAD");
                v7.l.a("Starting wakeful intent.");
                this.a.a(p12, v13_8);
                return;
            }
        } else {
            v7.h.a("Receiver called with null intent");
            return;
        }
    }

Method c.e.a.a.c.b.k.a() calling method android.net.Uri.parse()


    public static android.content.Intent a(String p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        int v3_1 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p3);
        if (!android.text.TextUtils.isEmpty(p4)) {
            v3_1.appendQueryParameter("pcampaignid", p4);
        }
        v0_1.setData(v3_1.build());
        v0_1.setPackage("com.android.vending");
        v0_1.addFlags(524288);
        return v0_1;
    }

Method c.e.a.a.c.b.k.<clinit>() calling method android.net.Uri.parse()


    static k()
    {
        android.net.Uri.parse("https://plus.google.com/").buildUpon().appendPath("circles").appendPath("find").build();
        return;
    }

Method c.e.a.a.a.a.b.run() calling method android.net.Uri.parse()


    public final void run()
    {
        String v2_2 = this.a;
        RuntimeException v3_7 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v4_0 = v2_2.keySet().iterator();
        while (v4_0.hasNext()) {
            String v5_15 = ((String) v4_0.next());
            v3_7.appendQueryParameter(v5_15, ((String) v2_2.get(v5_15)));
        }
        String v2_1 = v3_7.build().toString();
        try {
            RuntimeException v3_3 = ((java.net.HttpURLConnection) new java.net.URL(v2_1).openConnection());
        } catch (RuntimeException v3_6) {
            String v4_5 = v3_6.getMessage();
            StringBuilder v6_3 = new StringBuilder(c.a.a.a.a.a(v4_5, c.a.a.a.a.a(v2_1, 32)));
            String v5_10 = "Error while parsing ping URL: ";
            v6_3.append(v5_10);
            v6_3.append(v2_1);
            v6_3.append(". ");
            v6_3.append(v4_5);
            android.util.Log.w("HttpUrlPinger", v6_3.toString(), v3_6);
            return;
        } catch (RuntimeException v3_6) {
            v4_5 = v3_6.getMessage();
            v6_3 = new StringBuilder(c.a.a.a.a.a(v4_5, c.a.a.a.a.a(v2_1, 27)));
            v5_10 = "Error while pinging URL: ";
            v6_3.append(v5_10);
            v6_3.append(v2_1);
            v6_3.append(". ");
            v6_3.append(v4_5);
            android.util.Log.w("HttpUrlPinger", v6_3.toString(), v3_6);
            return;
        } catch (RuntimeException v3_6) {
        }
        String v4_1 = v3_3.getResponseCode();
        if ((v4_1 < 200) || (v4_1 >= 300)) {
            StringBuilder v6_1 = new StringBuilder((String.valueOf(v2_1).length() + 65));
            v6_1.append("Received non-success response code ");
            v6_1.append(v4_1);
            v6_1.append(" from pinging URL: ");
            v6_1.append(v2_1);
            android.util.Log.w("HttpUrlPinger", v6_1.toString());
        }
        v3_3.disconnect();
        return;
    }

Method a.b.f.a.H.a() calling method android.net.Uri.parse()


    public static String a(android.content.Context p6, android.net.Uri p7)
    {
        boolean v0_13;
        if (android.os.Build$VERSION.SDK_INT < 19) {
            v0_13 = 0;
        } else {
            v0_13 = 1;
        }
        android.net.Uri v3_1 = 0;
        if ((!v0_13) || (!android.provider.DocumentsContract.isDocumentUri(p6, p7))) {
            if (!"content".equalsIgnoreCase(p7.getScheme())) {
                if ("file".equalsIgnoreCase(p7.getScheme())) {
                    return p7.getPath();
                }
            } else {
                return ark>a.b.f.a.Hark>.a(p6, p7, 0, 0);
            }
        } else {
            if (!"com.android.externalstorage.documents".equals(p7.getAuthority())) {
                if (!"com.android.providers.downloads.documents".equals(p7.getAuthority())) {
                    if ("com.android.providers.media.documents".equals(p7.getAuthority())) {
                        String v7_4 = android.provider.DocumentsContract.getDocumentId(p7).split(":");
                        boolean v0_14 = v7_4[0];
                        if (!"image".equals(v0_14)) {
                            if (!"video".equals(v0_14)) {
                                if ("audio".equals(v0_14)) {
                                    v3_1 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v3_1 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v3_1 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        boolean v0_16 = new String[1];
                        v0_16[0] = v7_4[1];
                        return ark>a.b.f.a.Hark>.a(p6, v3_1, "_id=?", v0_16);
                    }
                } else {
                    return ark>a.b.f.a.Hark>.a(p6, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p7)).longValue()), 0, 0);
                }
            } else {
                String v6_10 = android.provider.DocumentsContract.getDocumentId(p7).split(":");
                if ("primary".equalsIgnoreCase(v6_10[0])) {
                    String v7_2 = new StringBuilder();
                    v7_2.append(android.os.Environment.getExternalStorageDirectory());
                    v7_2.append("/");
                    v7_2.append(v6_10[1]);
                    return v7_2.toString();
                }
            }
        }
        return 0;
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity.onCreate() calling method android.webkit.WebView.setWebViewClient()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.setContentView(2131427408);
        this.a = ((android.webkit.WebView) this.findViewById(2131297229));
        this.b = c.g.a.c.h.o.a(this);
        this.b.k();
        this.f = this.b.n();
        this.a.getSettings().setJavaScriptEnabled(1);
        this.a.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.a.getSettings().setLoadWithOverviewMode(1);
        this.a.getSettings().setAllowFileAccess(1);
        this.a.getSettings().setDomStorageEnabled(1);
        if (android.os.Build$VERSION.SDK_INT > 18) {
            this.a.getSettings().setCacheMode(2);
        }
        android.webkit.WebView v5_19 = android.os.Build$VERSION.SDK_INT;
        if (v5_19 < 19) {
            if (v5_19 < 19) {
                this.a.setLayerType(1, 0);
            }
        } else {
            this.a.setLayerType(2, 0);
        }
        this.a.setDownloadListener(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$a(this, 0));
        this.a.setWebChromeClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$b(this, 0));
        this.a.setWebViewClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$c(this, 0));
        android.webkit.WebView v5_28 = new StringBuilder();
        v5_28.append("https://madhuban.rarome.com/index.php/?login/login_by_android_token/");
        v5_28.append(this.b.m());
        android.webkit.WebView v5_29 = v5_28.toString();
        android.webkit.WebView v0_11 = new StringBuilder();
        v0_11.append("cURL Is : ");
        v0_11.append(v5_29);
        android.util.Log.i("cURL ", v0_11.toString());
        this.a.loadUrl(v5_29);
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.WebViewActivity.onCreate() calling method android.webkit.WebView.setWebViewClient()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.getWindow().requestFeature(2);
        this.setContentView(2131427408);
        this.d = ((android.webkit.WebView) this.findViewById(2131297229));
        this.d.getSettings().setJavaScriptEnabled(1);
        this.d.getSettings().setUseWideViewPort(1);
        this.d.getSettings().setAllowFileAccess(1);
        String v5_16 = android.os.Build$VERSION.SDK_INT;
        if (v5_16 < 19) {
            if (v5_16 < 19) {
                this.d.setLayerType(1, 0);
            }
        } else {
            this.d.setLayerType(2, 0);
            this.d.getSettings().setCacheMode(2);
        }
        String v5_6;
        this.d.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.d.getSettings().setLoadWithOverviewMode(1);
        this.d.getSettings().setAllowFileAccess(1);
        this.d.getSettings().setDomStorageEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setLoadsImagesAutomatically(1);
        this.e = this.getIntent().getStringExtra("file_url");
        c.a.a.a.a.b(c.a.a.a.a.a("file_url "), this.e, this.f);
        if ((!this.e.endsWith(".png")) && ((!this.e.endsWith(".jpeg")) && (!this.e.endsWith(".jpg")))) {
            if ((!this.e.endsWith(".pdf")) && (!this.e.endsWith(".doc"))) {
                String v5_4 = new StringBuilder();
            } else {
                v5_4 = new StringBuilder();
            }
            v5_4.append("https://docs.google.com/gview?embedded=true&url=");
            v5_4.append(this.e);
            v5_6 = v5_4.toString();
        } else {
            v5_6 = this.e;
        }
        this.g = v5_6;
        this.d.setWebViewClient(new c.g.a.c.a.U(this));
        this.d.loadUrl(this.g);
        return;
    }

Method com.razorpay.b__J_.onCreate() calling method android.webkit.WebView.setWebViewClient()


    public void onCreate(android.os.Bundle p7)
    {
        int v3_5;
        com.razorpay.Q__v$.Q_$2$(this, com.razorpay.f$_G$.a_$P$);
        com.razorpay.f$_G$.f$_G$().G__G_(com.razorpay.O_$B_.Q_$2$(this, com.razorpay.R$raw.rzp_config));
        com.razorpay.BaseUtils.checkForLatestVersion(this, com.razorpay.f$_G$.Q_$2$);
        this.presenter.setCheckoutLoadStartAt();
        this.G__G_(1, new com.razorpay.L$$C_(this.presenter));
        this.G__G_(2, new com.razorpay.U$_z$(this.presenter));
        this.a_$P$(1, new com.razorpay.H$_a_(this.presenter));
        this.a_$P$(2, new com.razorpay.I$_n_(this.presenter));
        com.razorpay.BaseUtils.setup();
        com.razorpay.AnalyticsUtil.trackEvent(com.razorpay.AnalyticsEvent.CHECKOUT_INIT);
        super.onCreate(p7);
        this.requestWindowFeature(1);
        if (p7 != 0) {
            v3_5 = 1;
        } else {
            p7 = this.getIntent().getExtras();
            v3_5 = 0;
        }
        if (this.presenter.setOptions(p7, v3_5)) {
            this.R$$r_ = ((android.view.ViewGroup) this.findViewById(16908290));
            int v7_35 = this.checkoutBridgeObject;
            this.d__1_ = new android.webkit.WebView(this);
            com.razorpay.BaseUtils.setWebViewSettings(this, this.d__1_, 0);
            this.d__1_.clearFormData();
            this.d__1_.addJavascriptInterface(v7_35, "CheckoutBridge");
            this.d__1_.setWebChromeClient(this.B$$W$);
            this.d__1_.setWebViewClient(this.G__G_);
            this.Q_$2$ = new android.webkit.WebView(this);
            com.razorpay.BaseUtils.setWebViewSettings(this, this.Q_$2$, 0);
            this.Q_$2$.clearFormData();
            this.Q_$2$.addJavascriptInterface(new com.razorpay.MagicBridge(((com.razorpay.Y$_o$) this.presenter)), "MagicBridge");
            this.Q_$2$.addJavascriptInterface(new com.razorpay.c__C_(((com.razorpay.Y$_o$) this.presenter), 2), "CheckoutBridge");
            this.Q_$2$.setVisibility(8);
            this.Q_$2$.setWebChromeClient(this.E$_j$);
            this.Q_$2$.setWebViewClient(this.b__J_);
            this.a_$P$ = new android.widget.RelativeLayout(this);
            this.a_$P$.setLayoutParams(new android.widget.RelativeLayout$LayoutParams(-1, -1));
            this.a_$P$.setBackgroundColor(-1);
            this.R$$r_.addView(this.a_$P$);
            this.d__1_.setLayoutParams(new android.view.ViewGroup$LayoutParams(-1, -1));
            this.Q_$2$.setLayoutParams(new android.view.ViewGroup$LayoutParams(-1, -1));
            this.a_$P$.addView(this.d__1_);
            this.a_$P$.addView(this.Q_$2$);
            int v7_9 = this.presenter.getProgressBarColor();
            if (v7_9 == 0) {
                this.r$_Y_ = new com.razorpay.B$$J$(this, this.a_$P$, 0);
            } else {
                this.r$_Y_ = new com.razorpay.B$$J$(this, this.a_$P$, v7_9);
            }
            int v7_19;
            this.presenter.setUpAddOn();
            this.presenter.loadForm("");
            this.presenter.passPrefillToSegment();
            if ((this.getWindow().getAttributes().flags & 1024) == 0) {
                v7_19 = 0;
            } else {
                v7_19 = 1;
            }
            if (v7_19 == 1) {
                new com.razorpay.r$_Y_(this);
            }
            if (this.getResources().getBoolean(com.razorpay.R$bool.isTablet) != 1) {
                this.setRequestedOrientation(1);
            } else {
                this.setFinishOnTouchOutside(0);
                int v7_24 = this.getWindow().getAttributes();
                v7_24.height = ((int) android.util.TypedValue.applyDimension(1, 1142292480, this.getResources().getDisplayMetrics()));
                v7_24.width = ((int) android.util.TypedValue.applyDimension(1, 1136361472, this.getResources().getDisplayMetrics()));
                this.getWindow().setAttributes(v7_24);
            }
            this.presenter.fetchCondfig();
            this.presenter.handleCardSaving();
            if (!com.razorpay.BaseUtils.isDeviceHaveCorrectTlsVersion()) {
                com.razorpay.AnalyticsUtil.trackEvent(com.razorpay.AnalyticsEvent.CHECKOUT_TLS_ERROR);
                this.destroy(6, "TLSv1  is not supported for security reasons");
            }
            return;
        } else {
            return;
        }
    }

Method com.razorpay.Checkout.preload() calling method android.webkit.WebView.setWebViewClient()


    public static void preload(android.content.Context p2)
    {
        com.razorpay.Checkout.R$$r_ = 0;
        com.razorpay.Checkout.d__1_ = 0;
        com.razorpay.Checkout.Q_$2$ = 0;
        android.webkit.WebView v2_4 = p2.getApplicationContext();
        com.razorpay.Checkout.a_$P$ = new android.webkit.WebView(v2_4);
        com.razorpay.BaseUtils.setWebViewSettings(v2_4, com.razorpay.Checkout.a_$P$, 0);
        com.razorpay.Checkout.a_$P$.setWebViewClient(new com.razorpay.Checkout$3());
        com.razorpay.Checkout.a_$P$.setWebChromeClient(new com.razorpay.Checkout$4());
        com.razorpay.Checkout.a_$P$.loadUrl("https://api.razorpay.com/v1/checkout/public");
        return;
    }

Method com.razorpay.CheckoutActivity.addJavascriptInterfaceToPrimaryWebview() calling method android.webkit.WebView.addJavascriptInterface()


    public final void addJavascriptInterfaceToPrimaryWebview(Object p2, String p3)
    {
        this.d__1_.addJavascriptInterface(p2, p3);
        return;
    }

Method com.razorpay.b__J_.onCreate() calling method android.webkit.WebView.addJavascriptInterface()


    public void onCreate(android.os.Bundle p7)
    {
        int v3_5;
        com.razorpay.Q__v$.Q_$2$(this, com.razorpay.f$_G$.a_$P$);
        com.razorpay.f$_G$.f$_G$().G__G_(com.razorpay.O_$B_.Q_$2$(this, com.razorpay.R$raw.rzp_config));
        com.razorpay.BaseUtils.checkForLatestVersion(this, com.razorpay.f$_G$.Q_$2$);
        this.presenter.setCheckoutLoadStartAt();
        this.G__G_(1, new com.razorpay.L$$C_(this.presenter));
        this.G__G_(2, new com.razorpay.U$_z$(this.presenter));
        this.a_$P$(1, new com.razorpay.H$_a_(this.presenter));
        this.a_$P$(2, new com.razorpay.I$_n_(this.presenter));
        com.razorpay.BaseUtils.setup();
        com.razorpay.AnalyticsUtil.trackEvent(com.razorpay.AnalyticsEvent.CHECKOUT_INIT);
        super.onCreate(p7);
        this.requestWindowFeature(1);
        if (p7 != 0) {
            v3_5 = 1;
        } else {
            p7 = this.getIntent().getExtras();
            v3_5 = 0;
        }
        if (this.presenter.setOptions(p7, v3_5)) {
            this.R$$r_ = ((android.view.ViewGroup) this.findViewById(16908290));
            int v7_35 = this.checkoutBridgeObject;
            this.d__1_ = new android.webkit.WebView(this);
            com.razorpay.BaseUtils.setWebViewSettings(this, this.d__1_, 0);
            this.d__1_.clearFormData();
            this.d__1_.addJavascriptInterface(v7_35, "CheckoutBridge");
            this.d__1_.setWebChromeClient(this.B$$W$);
            this.d__1_.setWebViewClient(this.G__G_);
            this.Q_$2$ = new android.webkit.WebView(this);
            com.razorpay.BaseUtils.setWebViewSettings(this, this.Q_$2$, 0);
            this.Q_$2$.clearFormData();
            this.Q_$2$.addJavascriptInterface(new com.razorpay.MagicBridge(((com.razorpay.Y$_o$) this.presenter)), "MagicBridge");
            this.Q_$2$.addJavascriptInterface(new com.razorpay.c__C_(((com.razorpay.Y$_o$) this.presenter), 2), "CheckoutBridge");
            this.Q_$2$.setVisibility(8);
            this.Q_$2$.setWebChromeClient(this.E$_j$);
            this.Q_$2$.setWebViewClient(this.b__J_);
            this.a_$P$ = new android.widget.RelativeLayout(this);
            this.a_$P$.setLayoutParams(new android.widget.RelativeLayout$LayoutParams(-1, -1));
            this.a_$P$.setBackgroundColor(-1);
            this.R$$r_.addView(this.a_$P$);
            this.d__1_.setLayoutParams(new android.view.ViewGroup$LayoutParams(-1, -1));
            this.Q_$2$.setLayoutParams(new android.view.ViewGroup$LayoutParams(-1, -1));
            this.a_$P$.addView(this.d__1_);
            this.a_$P$.addView(this.Q_$2$);
            int v7_9 = this.presenter.getProgressBarColor();
            if (v7_9 == 0) {
                this.r$_Y_ = new com.razorpay.B$$J$(this, this.a_$P$, 0);
            } else {
                this.r$_Y_ = new com.razorpay.B$$J$(this, this.a_$P$, v7_9);
            }
            int v7_19;
            this.presenter.setUpAddOn();
            this.presenter.loadForm("");
            this.presenter.passPrefillToSegment();
            if ((this.getWindow().getAttributes().flags & 1024) == 0) {
                v7_19 = 0;
            } else {
                v7_19 = 1;
            }
            if (v7_19 == 1) {
                new com.razorpay.r$_Y_(this);
            }
            if (this.getResources().getBoolean(com.razorpay.R$bool.isTablet) != 1) {
                this.setRequestedOrientation(1);
            } else {
                this.setFinishOnTouchOutside(0);
                int v7_24 = this.getWindow().getAttributes();
                v7_24.height = ((int) android.util.TypedValue.applyDimension(1, 1142292480, this.getResources().getDisplayMetrics()));
                v7_24.width = ((int) android.util.TypedValue.applyDimension(1, 1136361472, this.getResources().getDisplayMetrics()));
                this.getWindow().setAttributes(v7_24);
            }
            this.presenter.fetchCondfig();
            this.presenter.handleCardSaving();
            if (!com.razorpay.BaseUtils.isDeviceHaveCorrectTlsVersion()) {
                com.razorpay.AnalyticsUtil.trackEvent(com.razorpay.AnalyticsEvent.CHECKOUT_TLS_ERROR);
                this.destroy(6, "TLSv1  is not supported for security reasons");
            }
            return;
        } else {
            return;
        }
    }

Method com.razorpay.b__J_.addJavascriptInterfaceToPrimaryWebview() calling method android.webkit.WebView.addJavascriptInterface()


    public void addJavascriptInterfaceToPrimaryWebview(Object p2, String p3)
    {
        this.d__1_.addJavascriptInterface(p2, p3);
        return;
    }

Method com.razorpay.RzpAssist.<init>() calling method android.webkit.WebView.addJavascriptInterface()


    public RzpAssist(String p4, android.app.Activity p5, android.webkit.WebView p6, String p7, int p8, String p9)
    {
        this.G__G_ = 0;
        this.a_$P$ = "";
        this.Q_$2$ = "";
        this.b__J_ = 0;
        this.E$_j$ = 0;
        this.O_$B_ = new org.json.JSONObject();
        this.E$_6$ = new org.json.JSONObject();
        this.l_$w$ = 0;
        this.c__C_ = 0;
        this.L__R$ = "standalone";
        this.l__d$ = 0;
        if (com.razorpay.J$$A_.f$_G$().B$$W$().booleanValue()) {
            if ((p4 == null) || (p4.isEmpty())) {
                throw new RuntimeException("merchantKey cannot be null or empty");
            } else {
                this.L__R$ = p7;
                this.J$_0_ = p8;
                if (p7.equals("standalone") == 1) {
                    com.razorpay.AnalyticsUtil.setup(p5, p4, p7, p8, p9);
                }
                this.d__1_ = p6;
                this.B$$W$ = p4;
                this.D$_X_ = p5;
                try {
                    Throwable v4_3 = new Object[1];
                    v4_3[0] = p5;
                    String v9_1 = new Class[1];
                    v9_1[0] = android.app.Activity;
                    this.r$_Y_$7229b5a8 = ((Class) com.razorpay.K$$z$.G__G_(15392, 18, 18)).getDeclaredConstructor(v9_1).newInstance(v4_3);
                    try {
                        ((Class) com.razorpay.K$$z$.G__G_(15392, 18, 18)).getDeclaredMethod("G__G_", 0).invoke(this.r$_Y_$7229b5a8, 0);
                        this.d__1_.addJavascriptInterface(this, "OTPElfBridge");
                        this.d__1_.getSettings().setUseWideViewPort(1);
                        com.razorpay.AnalyticsUtil.addProperty("OTPElf Version", new com.razorpay.AnalyticsProperty(com.razorpay.BaseUtils.getLocalVersion(p5, ((String) ((Class) com.razorpay.K$$z$.G__G_(15392, 18, 18)).getField("R$$r_").get(0))), com.razorpay.AnalyticsProperty$R$$r_.d__1_));
                        return;
                    } catch (Throwable v4_12) {
                        Throwable v5_1 = v4_12.getCause();
                        if (v5_1 == null) {
                            throw v4_12;
                        } else {
                            throw v5_1;
                        }
                    }
                } catch (Throwable v4_6) {
                    Throwable v5_3 = v4_6.getCause();
                    if (v5_3 == null) {
                        throw v4_6;
                    } else {
                        throw v5_3;
                    }
                }
                ((Class) com.razorpay.K$$z$.G__G_(15392, 18, 18)).getDeclaredMethod("G__G_", 0).invoke(this.r$_Y_$7229b5a8, 0);
                this.d__1_.addJavascriptInterface(this, "OTPElfBridge");
                this.d__1_.getSettings().setUseWideViewPort(1);
                com.razorpay.AnalyticsUtil.addProperty("OTPElf Version", new com.razorpay.AnalyticsProperty(com.razorpay.BaseUtils.getLocalVersion(p5, ((String) ((Class) com.razorpay.K$$z$.G__G_(15392, 18, 18)).getField("R$$r_").get(0))), com.razorpay.AnalyticsProperty$R$$r_.d__1_));
                return;
            }
        } else {
            return;
        }
    }

Method com.razorpay.BaseUtils.setWebViewSettings() calling method android.webkit.WebView.addJavascriptInterface()


    public static void setWebViewSettings(android.content.Context p8, android.webkit.WebView p9, boolean p10)
    {
        com.razorpay.BaseUtils.setBaseWebViewSettings();
        com.razorpay.BaseUtils.enableJavaScriptInWebView(p9);
        android.webkit.CookieManager.getInstance().setAcceptCookie(1);
        android.webkit.WebSettings v0_1 = p9.getSettings();
        v0_1.setDomStorageEnabled(1);
        v0_1.setDatabaseEnabled(1);
        int v2_2 = p8.getApplicationContext().getDir("database", 0).getPath();
        if (android.os.Build$VERSION.SDK_INT < 19) {
            int v4_5;
            int v4_3 = (com.razorpay.BaseUtils.a_$P$ + 17);
            com.razorpay.BaseUtils.d__1_ = (v4_3 % 128);
            if ((v4_3 % 2) == 0) {
                v4_5 = 0;
            } else {
                v4_5 = 1;
            }
            if (v4_5 == 0) {
                v0_1.setDatabasePath(v2_2);
            } else {
                v0_1.setDatabasePath(v2_2);
            }
        }
        int v4_8;
        if (android.os.Build$VERSION.SDK_INT >= 24) {
            v4_8 = 1;
        } else {
            v4_8 = 0;
        }
        if (v4_8 != 1) {
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 21) % 128);
            v0_1.setGeolocationDatabasePath(v2_2);
        }
        if (android.os.Build$VERSION.SDK_INT >= 21) {
            android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(p9, 1);
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 69) % 128);
        }
        if (p10 == 1) {
            com.razorpay.BaseUtils.d__1_ = ((com.razorpay.BaseUtils.a_$P$ + 5) % 128);
            v0_1.setCacheMode(2);
            com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 29) % 128);
        }
        v0_1.setSaveFormData(0);
        p9.addJavascriptInterface(new com.razorpay.N$$J$(p8), "StorageBridge");
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 75) % 128);
        return;
    }

Method com.razorpay.b__J_.loadData() calling method android.webkit.WebView.loadData()


    public void loadData(int p2, String p3, String p4, String p5)
    {
        if (p2 == 1) {
            this.d__1_.loadData(p3, p4, p5);
            return;
        } else {
            if (p2 == 2) {
                this.Q_$2$.loadData(p3, p4, p5);
            }
            return;
        }
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity.onCreate() calling method android.webkit.WebView.loadUrl()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.setContentView(2131427408);
        this.a = ((android.webkit.WebView) this.findViewById(2131297229));
        this.b = c.g.a.c.h.o.a(this);
        this.b.k();
        this.f = this.b.n();
        this.a.getSettings().setJavaScriptEnabled(1);
        this.a.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.a.getSettings().setLoadWithOverviewMode(1);
        this.a.getSettings().setAllowFileAccess(1);
        this.a.getSettings().setDomStorageEnabled(1);
        if (android.os.Build$VERSION.SDK_INT > 18) {
            this.a.getSettings().setCacheMode(2);
        }
        android.webkit.WebView v5_19 = android.os.Build$VERSION.SDK_INT;
        if (v5_19 < 19) {
            if (v5_19 < 19) {
                this.a.setLayerType(1, 0);
            }
        } else {
            this.a.setLayerType(2, 0);
        }
        this.a.setDownloadListener(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$a(this, 0));
        this.a.setWebChromeClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$b(this, 0));
        this.a.setWebViewClient(new com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$c(this, 0));
        android.webkit.WebView v5_28 = new StringBuilder();
        v5_28.append("https://madhuban.rarome.com/index.php/?login/login_by_android_token/");
        v5_28.append(this.b.m());
        android.webkit.WebView v5_29 = v5_28.toString();
        android.webkit.WebView v0_11 = new StringBuilder();
        v0_11.append("cURL Is : ");
        v0_11.append(v5_29);
        android.util.Log.i("cURL ", v0_11.toString());
        this.a.loadUrl(v5_29);
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.WebViewActivity.onCreate() calling method android.webkit.WebView.loadUrl()


    public void onCreate(android.os.Bundle p5)
    {
        super.onCreate(p5);
        this.getWindow().requestFeature(2);
        this.setContentView(2131427408);
        this.d = ((android.webkit.WebView) this.findViewById(2131297229));
        this.d.getSettings().setJavaScriptEnabled(1);
        this.d.getSettings().setUseWideViewPort(1);
        this.d.getSettings().setAllowFileAccess(1);
        String v5_16 = android.os.Build$VERSION.SDK_INT;
        if (v5_16 < 19) {
            if (v5_16 < 19) {
                this.d.setLayerType(1, 0);
            }
        } else {
            this.d.setLayerType(2, 0);
            this.d.getSettings().setCacheMode(2);
        }
        String v5_6;
        this.d.getSettings().setJavaScriptCanOpenWindowsAutomatically(1);
        this.d.getSettings().setLoadWithOverviewMode(1);
        this.d.getSettings().setAllowFileAccess(1);
        this.d.getSettings().setDomStorageEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setAppCacheEnabled(1);
        this.d.getSettings().setLoadsImagesAutomatically(1);
        this.e = this.getIntent().getStringExtra("file_url");
        c.a.a.a.a.b(c.a.a.a.a.a("file_url "), this.e, this.f);
        if ((!this.e.endsWith(".png")) && ((!this.e.endsWith(".jpeg")) && (!this.e.endsWith(".jpg")))) {
            if ((!this.e.endsWith(".pdf")) && (!this.e.endsWith(".doc"))) {
                String v5_4 = new StringBuilder();
            } else {
                v5_4 = new StringBuilder();
            }
            v5_4.append("https://docs.google.com/gview?embedded=true&url=");
            v5_4.append(this.e);
            v5_6 = v5_4.toString();
        } else {
            v5_6 = this.e;
        }
        this.g = v5_6;
        this.d.setWebViewClient(new c.g.a.c.a.U(this));
        this.d.loadUrl(this.g);
        return;
    }

Method com.razorpay.b__J_.loadUrl() calling method android.webkit.WebView.loadUrl()


    public void loadUrl(int p2, String p3)
    {
        if (p2 == 1) {
            this.d__1_.loadUrl(p3);
            return;
        } else {
            if (p2 == 2) {
                this.Q_$2$.loadUrl(p3);
            }
            return;
        }
    }

Method com.razorpay.RzpAssist.postSms() calling method android.webkit.WebView.loadUrl()


    public final void postSms(String p4, String p5)
    {
        if (this.l_$w$) {
            try {
                android.webkit.WebView v0_4 = new org.json.JSONObject();
                v0_4.put("sender", p4);
                v0_4.put("message", p5);
                this.f$_G$ = v0_4.toString();
                android.webkit.WebView v0_1 = new Object[1];
                v0_1[0] = this.f$_G$;
                android.webkit.WebView v0_2 = this.d__1_;
                Object[] v5_2 = new Object[1];
                v5_2[0] = String.format("OTPElf.elfBridge.setSms(%s)", v0_1);
                v0_2.loadUrl(String.format("javascript: %s", v5_2));
            } catch (Exception) {
            }
            return;
        } else {
            return;
        }
    }

Method com.razorpay.RzpAssist.onPageFinished() calling method android.webkit.WebView.loadUrl()


    public final void onPageFinished(android.webkit.WebView p7, String p8)
    {
        com.razorpay.AnalyticsUtil.trackPageLoadEnd(p8, (System.nanoTime() - this.R$$r_));
        this.a_$P$ = p8;
        this.Q_$2$ = "";
        if (com.razorpay.J$$A_.f$_G$().B$$W$().booleanValue()) {
            if (!this.l__d$) {
                Object[] v3_1 = com.razorpay.J$$A_.f$_G$().E$_j$();
                v3_1.put("merchant_key", this.B$$W$);
                v3_1.put("otp_permission", this.G__G_);
                int v4_3 = new org.json.JSONObject();
                v4_3.put("type", this.L__R$);
                v4_3.put("version_code", this.J$_0_);
                v3_1.put("sdk", v4_3);
                int v4_5 = new org.json.JSONObject();
                v4_5.put("type", "rzpassist");
                v4_5.put("version_code", com.razorpay.B_$q$.R$$r_.intValue());
                v3_1.put("plugin", v4_5);
                v3_1.put("payment_data", this.E$_6$);
                v3_1.put("preferences", this.O_$B_);
                Throwable v7_5 = new StringBuilder("window.__rzp_options = ");
                v7_5.append(v3_1.toString());
                android.webkit.WebView v0_7 = this.d__1_;
                Object[] v3_2 = new Object[1];
                v3_2[0] = v7_5.toString();
                v0_7.loadUrl(String.format("javascript: %s", v3_2));
                try {
                    android.webkit.WebView v0_12 = this.d__1_;
                    Object[] v3_5 = new Object[1];
                    v3_5[0] = ((Class) com.razorpay.K$$z$.G__G_(15392, 18, 18)).getDeclaredMethod("R$$r_", 0).invoke(this.r$_Y_$7229b5a8, 0);
                    v0_12.loadUrl(String.format("javascript: %s", v3_5));
                    this.l__d$ = 1;
                } catch (Throwable v7_11) {
                    Throwable v8_7 = v7_11.getCause();
                    if (v8_7 == null) {
                        throw v7_11;
                    } else {
                        throw v8_7;
                    }
                }
            }
            return;
        } else {
            return;
        }
    }

Method com.razorpay.B$$W$.Q_$2$() calling method android.webkit.WebView.loadUrl()


    public final void Q_$2$()
    {
        if (!this.E$_j$) {
            try {
                String v3_6 = com.razorpay.f$_G$.f$_G$().l__d$();
                v3_6.put("merchant_key", 0);
                v3_6.put("otp_permission", this.Q_$2$);
                android.webkit.WebView v4_2 = new org.json.JSONObject();
                v4_2.put("type", com.razorpay.f$_G$.R$$r_);
                v4_2.put("version_code", com.razorpay.f$_G$.Q_$2$);
                v3_6.put("sdk", v4_2);
                android.webkit.WebView v4_4 = new StringBuilder("window.__rzp_options = ");
                v4_4.append(v3_6.toString());
                android.webkit.WebView v4_5 = this.R$$r_;
                Object[] v5_6 = new Object[1];
                v5_6[0] = v4_4.toString();
                v4_5.loadUrl(String.format("javascript: %s", v5_6));
            } catch (Exception) {
            }
            android.webkit.WebView v4_6 = this.R$$r_;
            Object[] v5_7 = new Object[1];
            v5_7[0] = this.r$_Y_.R$$r_();
            v4_6.loadUrl(String.format("javascript: %s", v5_7));
            this.E$_j$ = 1;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileWebviewActivity$c.shouldOverrideUrlLoading() calling method android.webkit.WebView.loadUrl()


    public boolean shouldOverrideUrlLoading(android.webkit.WebView p4, String p5)
    {
        super.shouldOverrideUrlLoading(p4, p5);
        String v0_3 = new StringBuilder();
        v0_3.append("shouldOverrideUrlLoading ");
        v0_3.append(p5);
        android.util.Log.d("ProfileWebview", v0_3.toString());
        String v0_2 = new StringBuilder();
        v0_2.append("https://madhuban.rarome.com/index.php?");
        v0_2.append(this.a.f);
        v0_2.append("/dashboard");
        if (p5.equals(v0_2.toString())) {
            p5 = c.a.a.a.a.a(c.a.a.a.a.a("https://madhuban.rarome.com/index.php?"), this.a.f, "/manage_profile");
        }
        p4.loadUrl(p5);
        return 1;
    }

Method com.razorpay.Checkout.preload() calling method android.webkit.WebView.loadUrl()


    public static void preload(android.content.Context p2)
    {
        com.razorpay.Checkout.R$$r_ = 0;
        com.razorpay.Checkout.d__1_ = 0;
        com.razorpay.Checkout.Q_$2$ = 0;
        android.webkit.WebView v2_4 = p2.getApplicationContext();
        com.razorpay.Checkout.a_$P$ = new android.webkit.WebView(v2_4);
        com.razorpay.BaseUtils.setWebViewSettings(v2_4, com.razorpay.Checkout.a_$P$, 0);
        com.razorpay.Checkout.a_$P$.setWebViewClient(new com.razorpay.Checkout$3());
        com.razorpay.Checkout.a_$P$.setWebChromeClient(new com.razorpay.Checkout$4());
        com.razorpay.Checkout.a_$P$.loadUrl("https://api.razorpay.com/v1/checkout/public");
        return;
    }

Method c.g.a.c.a.U.shouldOverrideUrlLoading() calling method android.webkit.WebView.loadUrl()


    public boolean shouldOverrideUrlLoading(android.webkit.WebView p2, String p3)
    {
        p2.loadUrl(p3);
        c.a.a.a.a.b("url ", p3, com.sharadtechnologies.madhuvan.common.activities.WebViewActivity.a(this.a));
        return 0;
    }