Info 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

Method com.swapcard.apps.android.ui.web.WebViewFragment.initWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private final void initWebView()
    {
        android.webkit.WebView v0_6 = ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_6, "webView");
        android.webkit.WebView v0_10 = v0_6.getSettings();
        v0_10.setJavaScriptEnabled(1);
        v0_10.setJavaScriptCanOpenWindowsAutomatically(1);
        v0_10.setMixedContentMode(0);
        v0_10.setDomStorageEnabled(1);
        android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView)), 1);
        android.webkit.WebView v0_5 = ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_5, "webView");
        v0_5.setWebChromeClient(((android.webkit.WebChromeClient) new com.swapcard.apps.android.ui.web.WebViewFragment$initWebView$2(this)));
        android.webkit.WebView v0_9 = ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_9, "webView");
        v0_9.setWebViewClient(((android.webkit.WebViewClient) new com.swapcard.apps.android.ui.web.WebViewFragment$initWebView$3(this)));
        return;
    }

Method com.swapcard.apps.old.fragments.CGUFragment.setUpWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private void setUpWebView(String p4, android.view.View p5)
    {
        android.webkit.WebView v5_2 = ((android.webkit.WebView) p5.findViewById(2131363022));
        v5_2.getSettings().setBuiltInZoomControls(1);
        v5_2.getSettings().setJavaScriptEnabled(1);
        v5_2.setPadding(0, 0, 0, 0);
        v5_2.getSettings().setDomStorageEnabled(1);
        v5_2.setScrollBarStyle(33554432);
        v5_2.setBackgroundColor(0);
        v5_2.loadUrl(p4);
        return;
    }

Method com.twitter.sdk.android.core.identity.OAuthController.a() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    void a(android.webkit.WebView p3, android.webkit.WebViewClient p4, String p5, android.webkit.WebChromeClient p6)
    {
        android.webkit.WebSettings v0 = p3.getSettings();
        v0.setAllowFileAccess(0);
        v0.setJavaScriptEnabled(0);
        v0.setSaveFormData(0);
        p3.setVerticalScrollBarEnabled(0);
        p3.setHorizontalScrollBarEnabled(0);
        p3.setWebViewClient(p4);
        p3.loadUrl(p5);
        p3.setVisibility(4);
        p3.setWebChromeClient(p6);
        return;
    }

Method com.twitter.sdk.android.core.identity.OAuthController.a() calling method android.webkit.WebSettings.setAllowFileAccess()


    void a(android.webkit.WebView p3, android.webkit.WebViewClient p4, String p5, android.webkit.WebChromeClient p6)
    {
        android.webkit.WebSettings v0 = p3.getSettings();
        v0.setAllowFileAccess(0);
        v0.setJavaScriptEnabled(0);
        v0.setSaveFormData(0);
        p3.setVerticalScrollBarEnabled(0);
        p3.setHorizontalScrollBarEnabled(0);
        p3.setWebViewClient(p4);
        p3.loadUrl(p5);
        p3.setVisibility(4);
        p3.setWebChromeClient(p6);
        return;
    }

Method pl.tajchert.nammu.Nammu$2.onAttach() calling method android.net.Uri.parse()


    public void onAttach(android.content.Context p4)
    {
        super.onAttach(p4);
        String v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p4.getPackageName());
        this.startActivityForResult(new android.content.Intent("android.settings.action.MANAGE_WRITE_SETTINGS", android.net.Uri.parse(v1_2.toString())), 1970);
        return;
    }

Method pl.tajchert.nammu.Nammu$1.onAttach() calling method android.net.Uri.parse()


    public void onAttach(android.content.Context p4)
    {
        super.onAttach(p4);
        String v1_2 = new StringBuilder();
        v1_2.append("package:");
        v1_2.append(p4.getPackageName());
        this.startActivityForResult(new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", android.net.Uri.parse(v1_2.toString())), 1971);
        return;
    }

Method org.opencv.android.AsyncServiceHelper.a() calling method android.net.Uri.parse()


    protected static boolean a(android.content.Context p3)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=org.opencv.engine"));
            v0_1.addFlags(268435456);
            p3.startActivity(v0_1);
            int v3_1 = 1;
        } catch (Exception) {
            v3_1 = 0;
        }
        return v3_1;
    }

Method com.swapcard.apps.old.phone.SignupOnboardingActivity.isCropped() calling method android.net.Uri.parse()


    public void isCropped(android.content.Intent p3)
    {
        com.swapcard.apps.old.manager.upload.UploadPictureManager v3_1 = p3.getExtras();
        if (v3_1 != null) {
            new com.swapcard.apps.old.manager.upload.UploadPictureManager(new java.io.File(android.net.Uri.parse(v3_1.getString("output_crop")).getPath()), new com.swapcard.apps.old.phone.SignupOnboardingActivity$13(this));
        }
        return;
    }

Method com.swapcard.apps.old.phone.ExhibitorDetailActivity.isCropped() calling method android.net.Uri.parse()


    public void isCropped(android.content.Intent p3)
    {
        com.swapcard.apps.old.manager.upload.UploadPictureManager v3_1 = p3.getExtras();
        if (v3_1 != null) {
            new com.swapcard.apps.old.manager.upload.UploadPictureManager(new java.io.File(android.net.Uri.parse(v3_1.getString("output_crop")).getPath()), new com.swapcard.apps.old.phone.ExhibitorDetailActivity$5(this));
        }
        return;
    }

Method com.swapcard.apps.old.phone.ContactDetailActivity.isCropped() calling method android.net.Uri.parse()


    public void isCropped(android.content.Intent p3)
    {
        com.swapcard.apps.old.manager.upload.UploadPictureManager v3_1 = p3.getExtras();
        if (v3_1 != null) {
            new com.swapcard.apps.old.manager.upload.UploadPictureManager(new java.io.File(android.net.Uri.parse(v3_1.getString("output_crop")).getPath()), new com.swapcard.apps.old.phone.ContactDetailActivity$2(this));
        }
        return;
    }

Method com.swapcard.apps.android.ui.myvisit.meeting.MyMeetingsFragment.openTeamMeetings() calling method android.net.Uri.parse()


    private final void openTeamMeetings(String p3)
    {
        android.content.Intent v0_0 = this.getContext();
        if ((p3 != null) && (v0_0 != null)) {
            android.net.Uri v3_1 = android.net.Uri.parse(p3);
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v3_1, "Uri.parse(this)");
            this.startActivity(new android.content.Intent("android.intent.action.VIEW", v3_1));
        }
        return;
    }

Method com.swapcard.apps.android.ui.settings.SettingsFragment.openUrlBrowser() calling method android.net.Uri.parse()


    private final void openUrlBrowser(String p3)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p3));
        android.content.Context v3_2 = this.getContext();
        if (v3_2 != null) {
            v3_2.startActivity(v0_1);
        }
        return;
    }

Method com.swapcard.apps.android.ui.home.event.EventFragment.openLocation() calling method android.net.Uri.parse()


    private final void openLocation(com.swapcard.apps.android.ui.home.event.model.Address p7)
    {
        android.content.ComponentName v0_0 = this.getContext();
        if (v0_0 != null) {
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_0, "context ?: return");
            android.content.Intent v1_4 = p7.getLatitude();
            String v2_1 = p7.getLongitude();
            StringBuilder v3_0 = new StringBuilder();
            v3_0.append("geo:");
            v3_0.append(v1_4);
            v3_0.append(44);
            v3_0.append(v2_1);
            v3_0.append("?q=");
            v3_0.append(v1_4);
            v3_0.append(44);
            v3_0.append(v2_1);
            v3_0.append(40);
            v3_0.append(p7.getAddress());
            v3_0.append(41);
            android.content.Intent v1_3 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v3_0.toString()));
            android.content.Intent v7_6 = android.content.Intent.createChooser(v1_3, 0);
            if (v1_3.resolveActivity(v0_0.getPackageManager()) != null) {
                this.startActivity(v7_6);
            }
        }
        return;
    }

Method com.swapcard.apps.android.ui.home.event.EventFragment.onTwitterTweet() calling method android.net.Uri.parse()


    private final void onTwitterTweet(String p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("https://twitter.com/intent/tweet?text=");
        v1_2.append(com.swapcard.apps.android.utils.UtilsKt.encode$default(p5, 0, 1, 0));
        this.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v1_2.toString())));
        return;
    }

Method com.swapcard.apps.android.ui.home.event.EventFragment.onTwitterSeeMore() calling method android.net.Uri.parse()


    private final void onTwitterSeeMore(String p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("https://twitter.com/search?q=");
        v1_2.append(com.swapcard.apps.android.utils.UtilsKt.encode$default(p5, 0, 1, 0));
        this.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v1_2.toString())));
        return;
    }

Method com.swapcard.apps.android.ui.home.event.EventFragment.goToDeepLink() calling method android.net.Uri.parse()


    private final void goToDeepLink(String p5, String p6)
    {
        android.content.Context v0 = this.getContext();
        if (v0 != null) {
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0, "context ?: return");
            try {
                int v1_8 = new android.content.Intent("android.intent.action.VIEW");
                v1_8.setData(android.net.Uri.parse(p5));
                this.startActivity(v1_8);
            } catch (int v1_0) {
                int v1_1 = ((Throwable) v1_0);
                int v2_1 = new StringBuilder();
                v2_1.append("Can\'t open app related to the deep link: ");
                v2_1.append(p5);
                Object[] v3_1 = new Object[0];
                timber.log.Timber.e(v1_1, v2_1.toString(), v3_1);
                String v5_3 = v0.getString(2131886602);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v5_3, "context.getString(R.string.install_app_toast)");
                int v1_5 = new Object[1];
                v1_5[0] = p6;
                String v5_4 = String.format(v5_3, java.util.Arrays.copyOf(v1_5, v1_5.length));
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v5_4, "java.lang.String.format(format, *args)");
                com.swapcard.apps.android.ui.utils.ViewUtilsKt.showToast$default(v0, v5_4, 0, 2, 0);
            }
        }
        return;
    }

Method com.twitter.sdk.android.tweetui.BaseTweetView.lambda$linkifyProfilePhotoView$0$BaseTweetView() calling method android.net.Uri.parse()


    public synthetic void lambda$linkifyProfilePhotoView$0$BaseTweetView(com.twitter.sdk.android.core.models.Tweet p2, android.view.View p3)
    {
        if (this.c == null) {
            if (!com.twitter.sdk.android.core.IntentUtils.safeStartActivity(this.getContext(), new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(com.twitter.sdk.android.tweetui.TweetUtils.a(p2.user.screenName))))) {
                com.twitter.sdk.android.core.Twitter.getLogger().e("TweetUi", "Activity cannot be found to open URL");
            }
        } else {
            this.c.onLinkClick(p2, com.twitter.sdk.android.tweetui.TweetUtils.a(p2.user.screenName));
        }
        return;
    }

Method com.twitter.sdk.android.core.internal.oauth.OAuth1aService.buildCallbackUrl() calling method android.net.Uri.parse()


    public String buildCallbackUrl(com.twitter.sdk.android.core.TwitterAuthConfig p4)
    {
        return android.net.Uri.parse("twittersdk://callback").buildUpon().appendQueryParameter("version", this.c().getVersion()).appendQueryParameter("app", p4.getConsumerKey()).build().toString();
    }

Method com.swapcard.apps.old.adapters.NetworkingEventAdapter$ButtonEventHolder.lambda$showDeepLinks$1$NetworkingEventAdapter$ButtonEventHolder() calling method android.net.Uri.parse()


    public synthetic Void lambda$showDeepLinks$1$NetworkingEventAdapter$ButtonEventHolder(com.swapcard.apps.old.bo.events.EventButton p6)
    {
        try {
            android.content.Context v0_3 = new android.content.Intent("android.intent.action.VIEW");
            v0_3.setData(android.net.Uri.parse(p6.realmGet$link()));
            com.swapcard.apps.old.adapters.NetworkingEventAdapter.a(this.p).startActivity(v0_3);
        } catch (android.content.Context v0_1) {
            v0_1.printStackTrace();
            android.widget.Toast v6_1 = p6.realmGet$appName();
            if (v6_1 == null) {
                v6_1 = "";
            }
            android.content.Context v0_4 = com.swapcard.apps.old.adapters.NetworkingEventAdapter.a(this.p);
            String v1_4 = com.swapcard.apps.old.adapters.NetworkingEventAdapter.a(this.p).getString(2131886602);
            Object[] v3 = new Object[1];
            v3[0] = v6_1;
            android.widget.Toast.makeText(v0_4, String.format(v1_4, v3), 1).show();
        }
        return 0;
    }

Method com.swapcard.apps.old.adapters.BingGridAdapter.getImageUri() calling method android.net.Uri.parse()


    public android.net.Uri getImageUri(android.content.Context p4, android.graphics.Bitmap p5, String p6)
    {
        if (p5 != null) {
            p5.compress(this.getContentType(p6), 100, new java.io.ByteArrayOutputStream());
            android.net.Uri v4_1 = android.provider.MediaStore$Images$Media.insertImage(p4.getContentResolver(), p5, "Title", 0);
            if (v4_1 != null) {
                return android.net.Uri.parse(v4_1);
            }
        }
        return 0;
    }

Method io.mapwize.mapwizeformapbox.MapwizePlugin$48.onClick() calling method android.net.Uri.parse()


    public void onClick(android.view.View p3)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("http://www.openstreetmap.org/about/"));
        v3_1.addFlags(268435456);
        v3_1.setPackage("com.android.chrome");
        try {
            this.a.getContext().startActivity(v3_1);
        } catch (android.content.ActivityNotFoundException) {
            v3_1.setPackage(0);
            this.a.getContext().startActivity(v3_1);
        }
        return;
    }

Method io.mapwize.mapwizeformapbox.MapwizePlugin$47.onClick() calling method android.net.Uri.parse()


    public void onClick(android.view.View p3)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://www.mapbox.com/about/maps/"));
        v3_1.addFlags(268435456);
        v3_1.setPackage("com.android.chrome");
        try {
            this.a.getContext().startActivity(v3_1);
        } catch (android.content.ActivityNotFoundException) {
            v3_1.setPackage(0);
            this.a.getContext().startActivity(v3_1);
        }
        return;
    }

Method io.mapwize.mapwizeformapbox.MapwizePlugin$3.onClick() calling method android.net.Uri.parse()


    public void onClick(android.view.View p3)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://mapwize.io/"));
        v3_1.addFlags(268435456);
        v3_1.setPackage("com.android.chrome");
        try {
            this.a.getContext().startActivity(v3_1);
        } catch (android.content.ActivityNotFoundException) {
            v3_1.setPackage(0);
            this.a.getContext().startActivity(v3_1);
        }
        return;
    }

Method io.mapwize.mapwizeformapbox.MapwizePlugin$2.onClick() calling method android.net.Uri.parse()


    public void onClick(android.view.View p3)
    {
        android.content.Intent v3_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://openmaptiles.org"));
        v3_1.addFlags(268435456);
        v3_1.setPackage("com.android.chrome");
        try {
            this.a.getContext().startActivity(v3_1);
        } catch (android.content.ActivityNotFoundException) {
            v3_1.setPackage(0);
            this.a.getContext().startActivity(v3_1);
        }
        return;
    }

Method com.twitter.sdk.android.tweetui.TweetUtils.a() calling method android.net.Uri.parse()


    static android.net.Uri a(String p5, long p6)
    {
        if (p6 > 0) {
            android.net.Uri v5_2;
            if (!android.text.TextUtils.isEmpty(p5)) {
                Object[] v3_0 = new Object[2];
                v3_0[0] = p5;
                v3_0[1] = Long.valueOf(p6);
                v5_2 = String.format(java.util.Locale.US, "https://twitter.com/%s/status/%d?ref_src=twsrc%%5Etwitterkit", v3_0);
            } else {
                java.util.Locale v0_2 = new Object[2];
                v0_2[0] = "twitter_unknown";
                v0_2[1] = Long.valueOf(p6);
                v5_2 = String.format(java.util.Locale.US, "https://twitter.com/%s/status/%d?ref_src=twsrc%%5Etwitterkit", v0_2);
            }
            return android.net.Uri.parse(v5_2);
        } else {
            return 0;
        }
    }

Method com.twitter.sdk.android.tweetui.PlayerController.lambda$setUpCallToActionListener$3$PlayerController() calling method android.net.Uri.parse()


    public synthetic void lambda$setUpCallToActionListener$3$PlayerController(String p2, android.view.View p3)
    {
        com.twitter.sdk.android.core.IntentUtils.safeStartActivity(this.d.getContext(), new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p2)));
        return;
    }

Method com.twitter.sdk.android.tweetui.PlayerController.a() calling method android.net.Uri.parse()


    void a(com.twitter.sdk.android.tweetui.PlayerActivity$PlayerItem p4)
    {
        try {
            this.b(p4);
            this.a(p4.looping, p4.showVideoControls);
            this.a.setOnTouchListener(com.twitter.sdk.android.tweetui.internal.SwipeToDismissTouchListener.createFromView(this.a, this.h));
            this.a.setOnPreparedListener(new com.twitter.sdk.android.tweetui.-$$Lambda$PlayerController$Halzn4HPi5j5na8jPt3Lr-tUQrY(this));
            this.a.setOnInfoListener(new com.twitter.sdk.android.tweetui.-$$Lambda$PlayerController$UuxK0Cz5ksFpC9ZhSm9-FFT1Axo(this));
            this.a.setVideoURI(android.net.Uri.parse(p4.url), p4.looping);
            this.a.requestFocus();
        } catch (Exception v4_3) {
            com.twitter.sdk.android.core.Twitter.getLogger().e("PlayerController", "Error occurred during video playback", v4_3);
        }
        return;
    }

Method com.twitter.sdk.android.tweetui.AbstractTweetView.lambda$getLinkClickListener$0$AbstractTweetView() calling method android.net.Uri.parse()


    public synthetic void lambda$getLinkClickListener$0$AbstractTweetView(String p3)
    {
        if (!android.text.TextUtils.isEmpty(p3)) {
            String v0_2 = this.c;
            if (v0_2 == null) {
                if (!com.twitter.sdk.android.core.IntentUtils.safeStartActivity(this.getContext(), new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p3)))) {
                    com.twitter.sdk.android.core.Twitter.getLogger().e("TweetUi", "Activity cannot be found to open URL");
                }
            } else {
                v0_2.onLinkClick(this.e, p3);
            }
            return;
        } else {
            return;
        }
    }

Method com.twitter.sdk.android.core.internal.TwitterApi.buildUponBaseHostUrl() calling method android.net.Uri.parse()


    public varargs android.net.Uri$Builder buildUponBaseHostUrl(String[] p5)
    {
        android.net.Uri$Builder v0_2 = android.net.Uri.parse(this.getBaseHostUrl()).buildUpon();
        if (p5 != null) {
            int v1 = p5.length;
            int v2 = 0;
            while (v2 < v1) {
                v0_2.appendPath(p5[v2]);
                v2++;
            }
        }
        return v0_2;
    }

Method com.swapcard.apps.old.utils.SocialUtils.startSkypeActyvity() calling method android.net.Uri.parse()


    private static void startSkypeActyvity(android.content.Context p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p4));
        v0_1.setComponent(new android.content.ComponentName("com.skype.raider", "com.skype.raider.Main"));
        v0_1.setFlags(268435456);
        if (v0_1.resolveActivity(p3.getPackageManager()) != null) {
            try {
                p3.startActivity(v0_1);
            } catch (android.content.ActivityNotFoundException v3_1) {
                v3_1.printStackTrace();
            }
        }
        return;
    }

Method com.swapcard.apps.old.utils.SocialUtils.openLinkedInPage() calling method android.net.Uri.parse()


    private static void openLinkedInPage(android.content.Context p2, String p3, boolean p4)
    {
        android.content.pm.PackageManager v4_1;
        if (p4 == null) {
            v4_1 = "http://www.linkedin.com/in/";
        } else {
            v4_1 = "http://www.linkedin.com/company/";
        }
        int v1_2 = new StringBuilder();
        v1_2.append(v4_1);
        v1_2.append(p3);
        android.content.Intent v0_0 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v1_2.toString()));
        try {
            p2.getPackageManager().getPackageInfo("com.linkedin.android", 1);
            v0_0.setPackage("com.linkedin.android");
        } catch (android.content.pm.PackageManager$NameNotFoundException) {
        }
        p2.startActivity(v0_0);
        return;
    }

Method com.swapcard.apps.old.utils.SocialUtils.launchSocialIntent() calling method android.net.Uri.parse()


    public static void launchSocialIntent(android.content.Context p1, String p2, String p3)
    {
        try {
            p1.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(com.swapcard.apps.old.utils.SocialUtils.getSocialURL(p2, p3))));
        } catch (android.content.ActivityNotFoundException v1_1) {
            v1_1.printStackTrace();
        }
        return;
    }

Method com.swapcard.apps.old.utils.SocialUtils.goToMarket() calling method android.net.Uri.parse()


    private static void goToMarket(android.content.Context p2, String p3)
    {
        android.content.Intent v0_1 = new Object[1];
        v0_1[0] = p3;
        android.content.Intent v0_2 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(String.format("market://details?id=%s", v0_1)));
        v0_2.setFlags(268435456);
        p2.startActivity(v0_2);
        return;
    }

Method com.swapcard.apps.old.utils.ActionUtils.showDialogCallContact() calling method android.net.Uri.parse()


    public static void showDialogCallContact(android.content.Context p3, String p4)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("tel:");
        v1_2.append(p4);
        p3.startActivity(new android.content.Intent("android.intent.action.DIAL", android.net.Uri.parse(v1_2.toString())));
        return;
    }

Method com.swapcard.apps.old.utils.ActionUtils.sendSms() calling method android.net.Uri.parse()


    public static void sendSms(android.content.Context p3, String p4)
    {
        if (!com.swapcard.apps.old.utils.TextCheckUtils.isEmpty(p4)) {
            android.content.Intent v0_2 = new android.content.Intent("android.intent.action.SENDTO");
            v0_2.addCategory("android.intent.category.DEFAULT");
            v0_2.setType("vnd.android-dir/mms-sms");
            StringBuilder v1_1 = new StringBuilder();
            v1_1.append("sms:");
            v1_1.append(p4);
            v0_2.setData(android.net.Uri.parse(v1_1.toString()));
            p3.startActivity(v0_2);
        }
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.sendTwitterIntent() calling method android.net.Uri.parse()


    public static void sendTwitterIntent(android.content.Context p6, String p7)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.SEND");
        v0_1.putExtra("android.intent.extra.TEXT", p7);
        v0_1.setType("text/plain");
        String v2_1 = p6.getPackageManager().queryIntentActivities(v0_1, 65536).iterator();
        while (v2_1.hasNext()) {
            String v3_2 = ((android.content.pm.ResolveInfo) v2_1.next());
            if (v3_2.activityInfo.packageName.startsWith("com.twitter.android")) {
                v0_1.setClassName(v3_2.activityInfo.packageName, v3_2.activityInfo.name);
                String v2_2 = 1;
            }
            if (v2_2 == null) {
                if (!com.swapcard.apps.old.utils.TextCheckUtils.isEmpty(p7)) {
                    v0_1 = new android.content.Intent();
                    v0_1.putExtra("android.intent.extra.TEXT", p7);
                    v0_1.setAction("android.intent.action.VIEW");
                    StringBuilder v1_4 = new StringBuilder();
                    v1_4.append("https://twitter.com/intent/tweet?text=");
                    v1_4.append(com.swapcard.apps.old.helpers.IntentActionHelper.urlEncode(p7));
                    v0_1.setData(android.net.Uri.parse(v1_4.toString()));
                    p6.startActivity(v0_1);
                }
            }
            return;
        }
        v2_2 = 0;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.rateSwapcardActivity() calling method android.net.Uri.parse()


    public static void rateSwapcardActivity(android.content.Context p4)
    {
        android.content.Intent v0_1 = new StringBuilder();
        v0_1.append("market://details?id=");
        v0_1.append(p4.getPackageName());
        android.net.Uri v1_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v0_1.toString()));
        v1_1.addFlags(1207959552);
        try {
            p4.startActivity(v1_1);
        } catch (android.content.ActivityNotFoundException) {
            android.net.Uri v1_3 = new StringBuilder();
            v1_3.append("http://play.google.com/store/apps/details?id=");
            v1_3.append(p4.getPackageName());
            p4.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v1_3.toString())));
        }
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.launchMapIntent() calling method android.net.Uri.parse()


    public static void launchMapIntent(android.content.Context p2, String p3)
    {
        try {
            android.content.Intent v0_1 = new StringBuilder();
            v0_1.append("http://maps.google.co.in/maps?q=");
            v0_1.append(p3);
            p2.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v0_1.toString())));
        } catch (Exception v2_1) {
            v2_1.printStackTrace();
        }
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.getTwitterProfilIntent() calling method android.net.Uri.parse()


    public static void getTwitterProfilIntent(android.content.Context p4, String p5)
    {
        if ((p5 != null) && (p5.contains("@"))) {
            p5 = p5.replaceAll("@", "");
        }
        try {
            p4.getPackageManager().getPackageInfo("com.twitter.android", 0);
            StringBuilder v2_2 = new StringBuilder();
            v2_2.append("twitter://user?screen_name=");
            v2_2.append(p5);
            android.content.Intent v1_3 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v2_2.toString()));
            v1_3.addFlags(268435456);
            p4.startActivity(v1_3);
        } catch (Exception) {
            StringBuilder v2_7 = new StringBuilder();
            v2_7.append("https://twitter.com/");
            v2_7.append(p5);
            p4.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v2_7.toString())));
        }
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.getTwitterPostIntent() calling method android.net.Uri.parse()


    public static void getTwitterPostIntent(android.content.Context p3, String p4)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("https://twitter.com/intent/tweet?text=");
        v1_2.append(p4);
        p3.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v1_2.toString())));
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.getTwitterIntent() calling method android.net.Uri.parse()


    public static void getTwitterIntent(android.content.Context p4, String p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("https://twitter.com/search?q=");
        v1_2.append(p5.replace("#", "%23"));
        p4.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v1_2.toString())));
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.getBrowserIntent() calling method android.net.Uri.parse()


    public static void getBrowserIntent(android.content.Context p3, String p4)
    {
        if (!com.swapcard.apps.old.utils.TextCheckUtils.isEmpty(p4)) {
            if ((!p4.contains("http")) && (!p4.contains("https"))) {
                StringBuilder v0_2 = new StringBuilder();
                v0_2.append("http://");
                v0_2.append(p4);
                p4 = v0_2.toString();
            }
            StringBuilder v0_4 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p4));
            if ((android.webkit.URLUtil.isValidUrl(p4)) && (v0_4.resolveActivity(p3.getPackageManager()) != null)) {
                try {
                    p3.startActivity(v0_4);
                } catch (android.content.ActivityNotFoundException v3_1) {
                    v3_1.printStackTrace();
                }
            }
        }
        return;
    }

Method com.swapcard.apps.old.helpers.IntentActionHelper.getBrowserCalendarIntent() calling method android.net.Uri.parse()


    public static void getBrowserCalendarIntent(android.content.Context p2, String p3)
    {
        if (!com.swapcard.apps.old.utils.TextCheckUtils.isEmpty(p3)) {
            if ((!p3.contains("http")) && (!p3.contains("https"))) {
                android.content.Intent v0_2 = new StringBuilder();
                v0_2.append("http://");
                v0_2.append(p3);
                p3 = v0_2.toString();
            }
            if (android.webkit.URLUtil.isValidUrl(p3)) {
                android.content.Intent v0_5 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p3));
                v0_5.addCategory("android.intent.category.BROWSABLE");
                p2.startActivity(v0_5);
            }
        }
        return;
    }

Method com.swapcard.apps.old.helpers.AppHelper.getRealPathFromUri() calling method android.net.Uri.parse()


    public static String getRealPathFromUri(android.content.Context p5, android.net.Uri p6)
    {
        android.net.Uri v1 = 0;
        if (android.provider.DocumentsContract.isDocumentUri(p5, p6)) {
            if (!com.swapcard.apps.old.helpers.AppHelper.isExternalStorageDocument(p6)) {
                if (!com.swapcard.apps.old.helpers.AppHelper.isDownloadsDocument(p6)) {
                    if (com.swapcard.apps.old.helpers.AppHelper.isMediaDocument(p6)) {
                        String v6_2 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                        boolean v0_3 = v6_2[0];
                        if (!"image".equals(v0_3)) {
                            if (!"video".equals(v0_3)) {
                                if ("audio".equals(v0_3)) {
                                    v1 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v1 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v1 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        boolean v0_5 = new String[1];
                        v0_5[0] = v6_2[1];
                        return com.swapcard.apps.old.helpers.AppHelper.getDataColumn(p5, v1, "_id=?", v0_5);
                    }
                } else {
                    return com.swapcard.apps.old.helpers.AppHelper.getDataColumn(p5, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p6)).longValue()), 0, 0);
                }
            } else {
                String v5_4 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                if ("primary".equalsIgnoreCase(v5_4[0])) {
                    String v6_11 = new StringBuilder();
                    v6_11.append(android.os.Environment.getExternalStorageDirectory());
                    v6_11.append("/");
                    v6_11.append(v5_4[1]);
                    return v6_11.toString();
                }
            }
        }
        return 0;
    }

Method com.swapcard.apps.android.utils.UtilsKt.toUri() calling method android.net.Uri.parse()


    public static final android.net.Uri toUri(String p1)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$this$toUri");
        android.net.Uri v1_1 = android.net.Uri.parse(p1);
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v1_1, "Uri.parse(this)");
        return v1_1;
    }

Method com.layer.sdk.services.LayerFcmService.handleMessageReceived() calling method android.net.Uri.parse()


    public static boolean handleMessageReceived(com.google.firebase.messaging.RemoteMessage p17, android.content.Context p18)
    {
        if (com.layer.sdk.services.LayerFcmService.isLayerMessage(p17)) {
            com.layer.sdk.services.LayerFcmService.d();
            if (!"layer_silent".equals(p17.getCollapseKey())) {
                com.layer.sdk.internal.lsdkk.k.a(p18.getApplicationContext());
                if (com.layer.sdk.internal.lsdkk.k.a(2)) {
                    com.layer.sdk.internal.lsdkk.k.a(com.layer.sdk.services.LayerFcmService.a, "Processing Layer FCM push...");
                }
                java.util.Map v14 = p17.getData();
                java.util.UUID v11 = java.util.UUID.fromString(((String) v14.get("user-id")));
                try {
                    String v4_3;
                    org.json.JSONObject v9_2 = new org.json.JSONObject(((String) v14.get("layer")));
                } catch (java.util.UUID v0_16) {
                    boolean v3_0 = 0;
                    v4_3 = 0;
                    if (com.layer.sdk.internal.lsdkk.k.a(6)) {
                        com.layer.sdk.internal.lsdkk.k.d(com.layer.sdk.services.LayerFcmService.a, "Failed to process Layer push notification due to a JSONException", v0_16);
                    }
                    java.util.HashSet v13 = v3_0;
                    android.net.Uri v12 = v4_3;
                    java.util.UUID v0_1 = 0;
                    int v16;
                    com.layer.sdk.internal.a v2_0 = com.layer.sdk.internal.a.b();
                    if (v2_0 == null) {
                        v16 = 0;
                    } else {
                        v16 = 1;
                    }
                    if (v16 == 0) {
                        boolean v3_2 = new com.layer.sdk.internal.lsdke.h(p18);
                        String v4_0 = v3_2.c();
                        boolean v3_3 = v3_2.b();
                        if ((v4_0 != null) && ((v3_3) && ((v3_3.a() != null) && (v3_3.b() != null)))) {
                            v2_0 = ((com.layer.sdk.internal.a) com.layer.sdk.internal.a.a(p18, v4_0, new com.layer.sdk.LayerClient$Options(p18.getApplicationContext())));
                            if (!v2_0.isAuthenticated()) {
                                v2_0.close();
                                return 1;
                            }
                        }
                    }
                    if (v2_0 != null) {
                        boolean v3_8 = new java.util.HashSet();
                        if (v12 != null) {
                            try {
                                com.layer.sdk.exceptions.LayerException$Type v6_3;
                                com.layer.sdk.exceptions.LayerException$Type v6_2 = ((com.layer.sdk.internal.lsdkd.lsdka.c) v2_0.getConversation(v12));
                            } catch (java.util.UUID v0_3) {
                                if (v0_3.getType().equals(com.layer.sdk.exceptions.LayerException$Type.NOT_AUTHENTICATED)) {
                                    com.layer.sdk.internal.lsdkk.k.d(com.layer.sdk.services.LayerFcmService.a, "A valid session is not found. Exiting");
                                }
                                return 1;
                            }
                            if (v6_2 == null) {
                                if (v0_1 != null) {
                                    if (v0_1 != null) {
                                        try {
                                            com.layer.sdk.internal.lsdkd.lsdka.a v5_2 = v2_0.o();
                                        } catch (java.util.UUID v0_7) {
                                            if (!v0_7.getType().equals(com.layer.sdk.exceptions.LayerException$Type.NOT_AUTHENTICATED)) {
                                            } else {
                                                com.layer.sdk.internal.lsdkk.k.a(com.layer.sdk.services.LayerFcmService.a, "A valid session is not found. Exiting");
                                            }
                                        }
                                        if (v5_2 != null) {
                                            v3_8.add(v5_2.j());
                                        }
                                    }
                                    com.layer.sdk.services.LayerFcmService.a(v2_0, v3_8);
                                    com.layer.sdk.services.LayerFcmService.a(p18.getApplicationContext(), v11, v12, v13, v14, com.layer.sdk.services.LayerFcmService$Origin.FCM, v16);
                                    return 1;
                                } else {
                                    v6_3 = com.layer.sdk.internal.lsdkd.m.c(v12);
                                }
                            } else {
                                v6_3 = v6_2.j();
                                if (v6_3 == null) {
                                }
                            }
                            v3_8.add(v6_3);
                        }
                    }
                    com.layer.sdk.services.LayerFcmService.a(p18.getApplicationContext(), v11, v12, v13, v14, com.layer.sdk.services.LayerFcmService$Origin.FCM, v16);
                    return 1;
                }
                if (!v9_2.has("conversation_identifier")) {
                    v4_3 = 0;
                } else {
                    v4_3 = android.net.Uri.parse(v9_2.getString("conversation_identifier"));
                }
                com.layer.sdk.internal.a v2_7;
                if (v4_3 != null) {
                    v2_7 = v4_3;
                    try {
                        if (!v9_2.has("message_identifier")) {
                            v3_0 = 0;
                        } else {
                            v3_0 = android.net.Uri.parse(v9_2.getString("message_identifier"));
                        }
                        try {
                            if (!v9_2.has("announcement_identifier")) {
                                v0_1 = 0;
                            } else {
                                v0_1 = android.net.Uri.parse(v9_2.getString("announcement_identifier"));
                            }
                        } catch (java.util.UUID v0_16) {
                            v4_3 = v2_7;
                        }
                        if ((!v3_0) && (v0_1 != null)) {
                            v3_0 = v0_1;
                        }
                        v12 = v2_7;
                        v13 = v3_0;
                    } catch (java.util.UUID v0_16) {
                        v4_3 = v2_7;
                    }
                } else {
                    try {
                        com.layer.sdk.internal.a v2_5;
                        if (!v9_2.has("channel_identifier")) {
                            v2_5 = 0;
                        } else {
                            v2_5 = android.net.Uri.parse(v9_2.getString("channel_identifier"));
                        }
                    } catch (java.util.UUID v0_16) {
                    }
                    if (v2_5 == null) {
                    } else {
                        if (com.layer.sdk.internal.lsdkk.k.a(2)) {
                            com.layer.sdk.internal.lsdkk.k.a(com.layer.sdk.services.LayerFcmService.a, "Received FCM push for a channel. Converting URI to a conversation.");
                        }
                        v2_7 = com.layer.sdk.internal.lsdkd.m.b(v2_5.getLastPathSegment());
                    }
                }
                v3_0 = 0;
            } else {
                if (com.layer.sdk.internal.lsdkk.k.a(2)) {
                    com.layer.sdk.internal.lsdkk.k.a(com.layer.sdk.services.LayerFcmService.a, "Received silent Layer FCM push. Skipping message processing.");
                }
                return 1;
            }
        } else {
            if (com.layer.sdk.internal.lsdkk.k.a(2)) {
                com.layer.sdk.internal.lsdkk.k.a(com.layer.sdk.services.LayerFcmService.a, "Received non-Layer FCM push. Skipping message processing.");
            }
            return 0;
        }
    }

Method com.squareup.picasso.Picasso.load() calling method android.net.Uri.parse()


    public com.squareup.picasso.RequestCreator load(String p3)
    {
        if (p3 != null) {
            if (p3.trim().length() == 0) {
                throw new IllegalArgumentException("Path must not be empty.");
            } else {
                return this.load(android.net.Uri.parse(p3));
            }
        } else {
            return new com.squareup.picasso.RequestCreator(this, 0, 0);
        }
    }

Method com.squareup.picasso.Picasso.invalidate() calling method android.net.Uri.parse()


    public void invalidate(String p2)
    {
        if (p2 == null) {
            throw new IllegalArgumentException("path == null");
        } else {
            this.invalidate(android.net.Uri.parse(p2));
            return;
        }
    }

Method com.mixpanel.android.takeoverinapp.TakeoverInAppActivity$3.onClick() calling method android.net.Uri.parse()


    public void onClick(android.view.View p6)
    {
        String v6_2 = this.a.getCtaUrl();
        String v1_2 = 0;
        if ((v6_2 != null) && (v6_2.length() > 0)) {
            try {
                try {
                    this.d.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v6_2)));
                    try {
                        String v2_4 = new org.json.JSONObject();
                        try {
                            v2_4.put("url", v6_2);
                            v1_2 = v2_4;
                        } catch (org.json.JSONException) {
                            v1_2 = v2_4;
                            com.mixpanel.android.util.MPLog.e("MixpanelAPI.TakeoverInAppActivity", "Can\'t put url into json properties");
                        }
                    } catch (org.json.JSONException) {
                    }
                } catch (android.content.ActivityNotFoundException) {
                    com.mixpanel.android.util.MPLog.i("MixpanelAPI.TakeoverInAppActivity", "User doesn\'t have an activity for notification URI");
                }
            } catch (String v6_1) {
                com.mixpanel.android.util.MPLog.i("MixpanelAPI.TakeoverInAppActivity", "Can\'t parse notification URI, will not take any action", v6_1);
                return;
            }
        }
        String v3_2 = "primary";
        if ((((com.mixpanel.android.mpmetrics.TakeoverInAppNotification) this.b).getNumButtons() == 2) && (this.c == 0)) {
            v3_2 = "secondary";
        }
        if (v1_2 != null) {
            v1_2.put("button", v3_2);
        } else {
            try {
                v1_2 = new org.json.JSONObject();
            } catch (org.json.JSONException) {
                com.mixpanel.android.util.MPLog.e("MixpanelAPI.TakeoverInAppActivity", "Can\'t put button type into json properties");
            }
        }
        com.mixpanel.android.takeoverinapp.TakeoverInAppActivity.b(this.d).getPeople().trackNotification("$campaign_open", this.b, v1_2);
        this.d.finish();
        com.mixpanel.android.mpmetrics.UpdateDisplayState.releaseDisplayState(com.mixpanel.android.takeoverinapp.TakeoverInAppActivity.a(this.d));
        return;
    }

Method com.mixpanel.android.mpmetrics.InAppFragment$3.onSingleTapUp() calling method android.net.Uri.parse()


    public boolean onSingleTapUp(android.view.MotionEvent p8)
    {
        IllegalArgumentException v0_4 = ((com.mixpanel.android.mpmetrics.MiniInAppNotification) com.mixpanel.android.mpmetrics.InAppFragment.e(this.a).getInAppNotification());
        String v1_3 = v0_4.getCtaUrl();
        org.json.JSONObject v3_0 = 0;
        if ((v1_3 != null) && (v1_3.length() > 0)) {
            try {
                org.json.JSONObject v4_1 = android.net.Uri.parse(v1_3);
                try {
                    com.mixpanel.android.mpmetrics.InAppFragment.d(this.a).startActivity(new android.content.Intent("android.intent.action.VIEW", v4_1));
                    try {
                        org.json.JSONObject v4_4 = new org.json.JSONObject();
                        try {
                            v4_4.put("url", v1_3);
                            v3_0 = v4_4;
                        } catch (org.json.JSONException) {
                            v3_0 = v4_4;
                            com.mixpanel.android.util.MPLog.e("MixpanelAPI.InAppFrag", "Can\'t put url into json properties");
                        }
                    } catch (org.json.JSONException) {
                    }
                } catch (android.content.ActivityNotFoundException) {
                    StringBuilder v5_3 = new StringBuilder();
                    v5_3.append("User doesn\'t have an activity for notification URI ");
                    v5_3.append(v4_1);
                    com.mixpanel.android.util.MPLog.i("MixpanelAPI.InAppFrag", v5_3.toString());
                }
            } catch (IllegalArgumentException v0_1) {
                com.mixpanel.android.util.MPLog.i("MixpanelAPI.InAppFrag", "Can\'t parse notification URI, will not take any action", v0_1);
                return 1;
            }
        }
        com.mixpanel.android.mpmetrics.InAppFragment.f(this.a).getPeople().trackNotification("$campaign_open", v0_4, v3_0);
        com.mixpanel.android.mpmetrics.InAppFragment.a(this.a);
        return 1;
    }

Method com.mixpanel.android.mpmetrics.GCMReceiver.buildNotificationIntent() calling method android.net.Uri.parse()


    private android.content.Intent buildNotificationIntent(android.content.Context p2, String p3, String p4, String p5, String p6)
    {
        String v3_1;
        if (p3 == null) {
            v3_1 = 0;
        } else {
            v3_1 = android.net.Uri.parse(p3);
        }
        android.content.Intent v2_2;
        if (v3_1 != null) {
            v2_2 = new android.content.Intent("android.intent.action.VIEW", v3_1);
        } else {
            v2_2 = this.a(p2);
        }
        if (p4 != null) {
            v2_2.putExtra("mp_campaign_id", p4);
        }
        if (p5 != null) {
            v2_2.putExtra("mp_message_id", p5);
        }
        if (p6 != null) {
            v2_2.putExtra("mp", p6);
        }
        return v2_2;
    }

Method com.mapbox.mapboxsdk.maps.AttributionDialogManager.showWebPage() calling method android.net.Uri.parse()


    private void showWebPage(String p3)
    {
        try {
            int v0_1 = new android.content.Intent("android.intent.action.VIEW");
            v0_1.setData(android.net.Uri.parse(p3));
            this.context.startActivity(v0_1);
        } catch (android.content.ActivityNotFoundException) {
            android.widget.Toast.makeText(this.context, com.mapbox.mapboxsdk.R$string.mapbox_attributionErrorNoBrowser, 1).show();
        }
        return;
    }

Method com.layer.sdk.internal.lsdki.lsdka.b.b() calling method android.net.Uri.parse()


    private static void b(com.layer.sdk.internal.lsdki.lsdka.b$a p9)
    {
        IllegalArgumentException v0_0 = p9.m();
        com.layer.sdk.internal.lsdki.lsdka.b$b v9_1 = p9.a();
        try {
            int v2 = v9_1.e();
            try {
                com.layer.transport.thrift.sync.MutationTarget v3_0 = v9_1.j(v2);
                java.util.ArrayList v4_1 = new java.util.ArrayList(v3_0.size());
                com.layer.transport.thrift.sync.MutationTarget v3_1 = v3_0.iterator();
            } catch (IllegalArgumentException v0_1) {
                v9_1.i(v2);
                throw v0_1;
            }
            while (v3_1.hasNext()) {
                com.layer.transport.lsdkc.i v5_3 = ((com.layer.transport.lsdkc.i) v3_1.next());
                Long v6_2 = com.layer.sdk.internal.lsdki.lsdka.b$1.a[v5_3.i().ordinal()];
                if (v6_2 == 1) {
                    com.layer.sdk.internal.lsdkd.lsdka.i v7_7;
                    Long v6_6 = ((com.layer.sdk.internal.lsdkd.lsdka.c) v0_0.a(android.net.Uri.parse(v5_3.b()), 0));
                    if (v5_3.c() != null) {
                        v7_7 = ((com.layer.sdk.internal.lsdkd.lsdka.i) v0_0.a(android.net.Uri.parse(v5_3.c()), 0));
                    } else {
                        v7_7 = 0;
                    }
                    if (v6_6.m() != null) {
                        v5_3.c(v9_1.j(v2, v6_6.m()).a());
                        if (v7_7 != null) {
                            v5_3.b(v7_7.i());
                        } else {
                            v5_3.b(0);
                        }
                    } else {
                    }
                } else {
                    if (v6_2 != 2) {
                        String v1_2 = new StringBuilder();
                        v1_2.append("Unknown mutation target: ");
                        v1_2.append(v5_3.i());
                        throw new IllegalArgumentException(v1_2.toString());
                    } else {
                        Long v6_16 = v9_1.l(v2, ((com.layer.sdk.internal.lsdkd.lsdka.i) v0_0.a(android.net.Uri.parse(v5_3.c()), 0)).i());
                        v5_3.c(v6_16.b());
                        v5_3.b(v6_16.a());
                    }
                }
                v4_1.add(v5_3);
            }
            if (!v4_1.isEmpty()) {
                v9_1.a(v2, v4_1);
            }
            v2.setTransactionSuccessful();
            v9_1.i(v2);
            return;
        } catch (IllegalArgumentException v0_1) {
            v2 = 0;
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.b$a.o() calling method android.net.Uri.parse()


    public static java.util.List o(android.database.Cursor p6)
    {
        java.util.ArrayList v0_1 = new java.util.ArrayList(p6.getCount());
        while (p6.moveToNext()) {
            int v1_2 = 0;
            com.layer.sdk.internal.lsdkd.lsdka.e v5_1 = new com.layer.sdk.internal.lsdkd.lsdka.e(android.net.Uri.parse(p6.getString(1)), Long.valueOf(p6.getLong(0)));
            if (!p6.isNull(3)) {
                v5_1.b(p6.getString(3));
            }
            if (!p6.isNull(4)) {
                v5_1.c(p6.getString(4));
            }
            if (!p6.isNull(5)) {
                v5_1.d(p6.getString(5));
            }
            if (!p6.isNull(6)) {
                v5_1.f(p6.getString(6));
            }
            if (!p6.isNull(7)) {
                v5_1.e(p6.getString(7));
            }
            if (!p6.isNull(8)) {
                v5_1.g(p6.getString(8));
            }
            if (!p6.isNull(9)) {
                v5_1.h(p6.getString(9));
            }
            int v2_18;
            if (p6.getInt(10) == 0) {
                v2_18 = 0;
            } else {
                v2_18 = 1;
            }
            v5_1.d(v2_18);
            if (p6.getInt(11) != 0) {
                v1_2 = 1;
            }
            v5_1.c(v1_2);
            v0_1.add(v5_1);
        }
        return v0_1;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.b$a.k() calling method android.net.Uri.parse()


    static java.util.List k(android.database.Cursor p18)
    {
        java.util.ArrayList v1_1 = new java.util.ArrayList(p18.getCount());
        while (p18.moveToNext()) {
            java.io.File v3_3;
            if (p18.isNull(0)) {
                v3_3 = 0;
            } else {
                v3_3 = android.net.Uri.parse(p18.getString(0));
            }
            int v6_1;
            if (p18.isNull(1)) {
                v6_1 = 0;
            } else {
                v6_1 = Long.valueOf(p18.getLong(1));
            }
            int v7_1;
            if (p18.isNull(2)) {
                v7_1 = 0;
            } else {
                v7_1 = Long.valueOf(p18.getLong(2));
            }
            int v8_2;
            if (p18.isNull(3)) {
                v8_2 = 0;
            } else {
                v8_2 = p18.getString(3);
            }
            int v9_2;
            if (p18.isNull(4)) {
                v9_2 = 0;
            } else {
                v9_2 = p18.getBlob(4);
            }
            int v12;
            if (p18.isNull(5)) {
                v12 = 0;
            } else {
                v12 = p18.getString(5);
            }
            int v13_0;
            if (p18.isNull(6)) {
                v13_0 = 0;
            } else {
                v13_0 = new java.util.Date(p18.getLong(6));
            }
            int v10_5;
            if (p18.isNull(7)) {
                v10_5 = 0;
            } else {
                v10_5 = p18.getString(7);
            }
            int v14_1 = 0;
            if (!p18.isNull(8)) {
                v14_1 = p18.getLong(8);
            }
            com.layer.sdk.internal.lsdkd.lsdka.j v2_3;
            if (p18.isNull(9)) {
                v2_3 = 0;
            } else {
                v2_3 = new java.util.Date(p18.getLong(9));
            }
            if ((p18.isNull(10)) || (p18.getInt(10) != 1)) {
                int v16_0 = 0;
            } else {
                v16_0 = 1;
            }
            int v17;
            if (p18.isNull(11)) {
                v17 = 0;
            } else {
                v17 = com.layer.sdk.messaging.MessagePart$TransferStatus.fromOrdinal(p18.getInt(11));
            }
            com.layer.sdk.internal.lsdkd.lsdka.j v2_0 = new com.layer.sdk.internal.lsdkd.lsdka.j(v3_3, v6_1, v8_2, Long.valueOf(v14_1)).a(v12, v13_0, v2_3, v17, v16_0);
            v2_0.b(v7_1);
            if (v10_5 == 0) {
                v2_0.a(v9_2);
            } else {
                v2_0.a(new java.io.File(v10_5));
            }
            v1_1.add(v2_0);
        }
        return v1_1;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.b$a.j() calling method android.net.Uri.parse()


    static java.util.List j(android.database.Cursor p9)
    {
        java.util.ArrayList v0_1 = new java.util.ArrayList(p9.getCount());
        while (p9.moveToNext()) {
            com.layer.sdk.internal.lsdkd.lsdka.i v4_5;
            int v1_0 = 0;
            int v2_6 = android.net.Uri.parse(p9.getString(0));
            com.layer.sdk.internal.lsdkd.lsdka.i v4_1 = com.layer.transport.thrift.sync.StreamType.findByValue(p9.getInt(1));
            String v6_1 = Long.valueOf(p9.getLong(2));
            com.layer.sdk.internal.lsdkd.lsdka.i v4_3 = com.layer.sdk.internal.lsdke.lsdkc.b$55.a[v4_1.ordinal()];
            if (v4_3 == 1) {
                v4_5 = new com.layer.sdk.internal.lsdkd.lsdka.b(v2_6, v6_1);
            } else {
                if (v4_3 == 2) {
                    v4_5 = new com.layer.sdk.internal.lsdkd.lsdka.i(v2_6, v6_1, 0);
                } else {
                    v4_5 = new com.layer.sdk.internal.lsdkd.lsdka.i(v2_6, v6_1);
                }
            }
            v4_5.a(Long.valueOf(p9.getLong(3)));
            if (!p9.isNull(4)) {
                v4_5.a(new java.util.Date(p9.getLong(4)));
            }
            if (!p9.isNull(5)) {
                v4_5.b(new java.util.Date(p9.getLong(5)));
            }
            int v2_12;
            String v6_4 = 0;
            if (p9.isNull(6)) {
                v2_12 = 0;
            } else {
                v2_12 = p9.getString(6);
            }
            if (!p9.isNull(7)) {
                v4_5.a(Integer.valueOf(p9.getInt(7)));
            }
            if (!p9.isNull(8)) {
                v4_5.c(Long.valueOf(p9.getLong(8)));
            }
            boolean v7_5;
            if (p9.isNull(9)) {
                v7_5 = nan;
            } else {
                v7_5 = p9.getLong(9);
            }
            v4_5.a(v7_5);
            if (!p9.isNull(10)) {
                v6_4 = p9.getString(10);
            }
            int v2_3;
            v4_5.a(v2_12, v6_4);
            if (p9.getInt(11) == 0) {
                v2_3 = 0;
            } else {
                v2_3 = 1;
            }
            v4_5.c(v2_3);
            if (p9.getInt(12) != 0) {
                v1_0 = 1;
            }
            v4_5.d(v1_0);
            v0_1.add(v4_5);
        }
        return v0_1;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.b$a.h() calling method android.net.Uri.parse()


    static java.util.List h(android.database.Cursor p8)
    {
        java.util.ArrayList v0_1 = new java.util.ArrayList(p8.getCount());
        while (p8.moveToNext()) {
            com.layer.sdk.internal.lsdkd.lsdka.c v4_5;
            int v1_0 = 0;
            int v2_4 = android.net.Uri.parse(p8.getString(0));
            com.layer.sdk.internal.lsdkd.lsdka.c v4_1 = com.layer.transport.thrift.sync.StreamType.findByValue(p8.getInt(1));
            long v6_1 = Long.valueOf(p8.getLong(2));
            com.layer.sdk.internal.lsdkd.lsdka.c v4_3 = com.layer.sdk.internal.lsdke.lsdkc.b$55.a[v4_1.ordinal()];
            if (v4_3 == 1) {
                v4_5 = new com.layer.sdk.internal.lsdkd.lsdka.a(v2_4, v6_1);
            } else {
                if (v4_3 == 2) {
                    v4_5 = new com.layer.sdk.internal.lsdkd.lsdka.c(v2_4, v6_1, 0);
                } else {
                    v4_5 = new com.layer.sdk.internal.lsdkd.lsdka.c(v2_4, v6_1);
                }
            }
            if (!p8.isNull(3)) {
                v4_5.b(Long.valueOf(p8.getLong(3)));
            }
            if (!p8.isNull(4)) {
                v4_5.a(com.layer.transport.lsdkd.d.a(p8.getBlob(4)));
            }
            int v2_12;
            if (p8.getInt(5) == 0) {
                v2_12 = 0;
            } else {
                v2_12 = 1;
            }
            v4_5.e(v2_12);
            if (!p8.isNull(6)) {
                v4_5.a(Integer.valueOf(p8.getInt(6)));
            }
            if (!p8.isNull(7)) {
                v4_5.b(Integer.valueOf(p8.getInt(7)));
            }
            if (!p8.isNull(8)) {
                v4_5.a(com.layer.sdk.messaging.Conversation$HistoricSyncStatus.fromValue(p8.getInt(8)));
            }
            if (!p8.isNull(9)) {
                v4_5.a(new java.util.Date(p8.getLong(9)));
            }
            int v2_1;
            if (p8.getInt(10) == 0) {
                v2_1 = 0;
            } else {
                v2_1 = 1;
            }
            v4_5.c(v2_1);
            if (p8.getInt(11) != 0) {
                v1_0 = 1;
            }
            v4_5.d(v1_0);
            v0_1.add(v4_5);
        }
        return v0_1;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.q() calling method android.net.Uri.parse()


    public static java.util.List q(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v0 = p4.rawQuery("SELECT object_identifier FROM message_parts WHERE message_database_identifier=? ORDER BY database_identifier ASC", v2_1);
            Throwable v4_2 = new java.util.ArrayList(v0.getCount());
        } catch (Throwable v4_3) {
            if (v0 != null) {
                v0.close();
            }
            throw v4_3;
        }
        while (v0.moveToNext()) {
            v4_2.add(android.net.Uri.parse(v0.getString(0)));
        }
        if (v0 != null) {
            v0.close();
        }
        return v4_2;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.o() calling method android.net.Uri.parse()


    public static android.net.Uri o(android.database.sqlite.SQLiteDatabase p5, Long p6)
    {
        android.database.Cursor v0 = 0;
        try {
            String[] v2_1 = new String[2];
            v2_1[0] = p6.toString();
            v2_1[1] = p6.toString();
            android.database.Cursor v5_1 = p5.rawQuery("SELECT object_identifier FROM messages WHERE conversation_database_identifier=? AND is_deleted_all_participants=0 AND is_deleted_my_devices=0 AND message_index=(SELECT MAX(message_index) FROM messages WHERE conversation_database_identifier=? AND is_deleted_all_participants=0 AND is_deleted_my_devices=0) ORDER BY database_identifier DESC LIMIT 1", v2_1);
            try {
                if (!v5_1.moveToNext()) {
                    if (v5_1 != null) {
                        v5_1.close();
                    }
                    return 0;
                } else {
                    if (!v5_1.isNull(0)) {
                        android.net.Uri v6_6 = android.net.Uri.parse(v5_1.getString(0));
                        if (v5_1 != null) {
                            v5_1.close();
                        }
                        return v6_6;
                    } else {
                        if (v5_1 != null) {
                            v5_1.close();
                        }
                        return 0;
                    }
                }
            } catch (android.net.Uri v6_2) {
                v0 = v5_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v6_2;
            }
        } catch (android.net.Uri v6_2) {
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.n() calling method android.net.Uri.parse()


    public static java.util.List n(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v0 = p4.rawQuery("SELECT object_identifier FROM messages WHERE conversation_database_identifier=? AND is_deleted_all_participants=0 AND is_deleted_my_devices=0 ORDER BY message_index IS NULL, message_index, database_identifier", v2_1);
            Throwable v4_2 = new java.util.ArrayList(v0.getCount());
        } catch (Throwable v4_3) {
            if (v0 != null) {
                v0.close();
            }
            throw v4_3;
        }
        while (v0.moveToNext()) {
            v4_2.add(android.net.Uri.parse(v0.getString(0)));
        }
        if (v0 != null) {
            v0.close();
        }
        return v4_2;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.m() calling method android.net.Uri.parse()


    public static android.net.Uri m(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        android.database.Cursor v0 = 0;
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v4_1 = p4.rawQuery("SELECT object_identifier FROM messages WHERE database_identifier=?", v2_1);
            try {
                if (!v4_1.moveToNext()) {
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return 0;
                } else {
                    android.net.Uri v5_4 = android.net.Uri.parse(v4_1.getString(0));
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return v5_4;
                }
            } catch (android.net.Uri v5_1) {
                v0 = v4_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v5_1;
            }
        } catch (android.net.Uri v5_1) {
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.l() calling method android.net.Uri.parse()


    public static android.net.Uri l(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        android.database.Cursor v0 = 0;
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v4_1 = p4.rawQuery("SELECT object_identifier FROM messages WHERE event_database_identifier=?", v2_1);
            try {
                if (!v4_1.moveToNext()) {
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return 0;
                } else {
                    android.net.Uri v5_4 = android.net.Uri.parse(v4_1.getString(0));
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return v5_4;
                }
            } catch (android.net.Uri v5_1) {
                v0 = v4_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v5_1;
            }
        } catch (android.net.Uri v5_1) {
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.k() calling method android.net.Uri.parse()


    public static android.net.Uri k(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        android.database.Cursor v0 = 0;
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v4_1 = p4.rawQuery("SELECT object_identifier FROM conversations WHERE database_identifier=?", v2_1);
            try {
                if (!v4_1.moveToNext()) {
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return 0;
                } else {
                    android.net.Uri v5_4 = android.net.Uri.parse(v4_1.getString(0));
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return v5_4;
                }
            } catch (android.net.Uri v5_1) {
                v0 = v4_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v5_1;
            }
        } catch (android.net.Uri v5_1) {
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.j() calling method android.net.Uri.parse()


    public static android.net.Uri j(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        android.database.Cursor v0 = 0;
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v4_1 = p4.rawQuery("SELECT object_identifier FROM conversations WHERE stream_database_identifier=?", v2_1);
            try {
                if (!v4_1.moveToNext()) {
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return 0;
                } else {
                    android.net.Uri v5_4 = android.net.Uri.parse(v4_1.getString(0));
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return v5_4;
                }
            } catch (android.net.Uri v5_1) {
                v0 = v4_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v5_1;
            }
        } catch (android.net.Uri v5_1) {
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.h() calling method android.net.Uri.parse()


    public static java.util.Map h(android.database.sqlite.SQLiteDatabase p4)
    {
        try {
            android.database.Cursor v0_1 = p4.rawQuery("SELECT c.object_identifier, cp.member_id FROM conversations AS c INNER JOIN conversation_participants AS cp ON c.database_identifier = cp.conversation_database_identifier  AND cp.is_deleted=0 WHERE c.is_deleted_all_participants=0  AND c.is_deleted_my_devices=0  AND c.is_distinct IS 1", 0);
            Throwable v4_3 = new java.util.HashMap();
        } catch (Throwable v4_1) {
            if (v0_1 != null) {
                v0_1.close();
            }
            throw v4_1;
        }
        while (v0_1.moveToNext()) {
            android.net.Uri v1_3 = android.net.Uri.parse(v0_1.getString(0));
            String v2_1 = v0_1.getString(1);
            java.util.HashSet v3_1 = ((java.util.Set) v4_3.get(v1_3));
            if (v3_1 == null) {
                v3_1 = new java.util.HashSet();
                v4_3.put(v1_3, v3_1);
            }
            v3_1.add(v2_1);
        }
        if (v0_1 != null) {
            v0_1.close();
        }
        return v4_3;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.e() calling method android.net.Uri.parse()


    public static android.net.Uri e(android.database.sqlite.SQLiteDatabase p4, Long p5)
    {
        android.database.Cursor v0 = 0;
        try {
            String[] v2_1 = new String[1];
            v2_1[0] = p5.toString();
            android.database.Cursor v4_1 = p4.rawQuery("SELECT object_identifier FROM identities WHERE database_identifier=?", v2_1);
            try {
                if (!v4_1.moveToNext()) {
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return 0;
                } else {
                    android.net.Uri v5_4 = android.net.Uri.parse(v4_1.getString(0));
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    return v5_4;
                }
            } catch (android.net.Uri v5_1) {
                v0 = v4_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v5_1;
            }
        } catch (android.net.Uri v5_1) {
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.d() calling method android.net.Uri.parse()


    public static java.util.List d(android.database.sqlite.SQLiteDatabase p8)
    {
        try {
            android.database.Cursor v0_1 = p8.rawQuery("SELECT m.object_identifier, p.object_identifier, p.database_identifier, p.size, p.file_path FROM messages AS m, message_parts AS p WHERE m.database_identifier=p.message_database_identifier AND p.pruned != 1 AND p.transfer_status=4 AND p.file_path IS NOT NULL ORDER BY p.access_time ASC", 0);
            Throwable v8_3 = new java.util.ArrayList(v0_1.getCount());
        } catch (Throwable v8_1) {
            if (v0_1 != null) {
                v0_1.close();
            }
            throw v8_1;
        }
        while (v0_1.moveToNext()) {
            com.layer.sdk.internal.lsdke.lsdkc.a$a v1_1 = new com.layer.sdk.internal.lsdke.lsdkc.a$a;
            v1_1(android.net.Uri.parse(v0_1.getString(0)), android.net.Uri.parse(v0_1.getString(1)), Long.valueOf(v0_1.getLong(2)), Long.valueOf(v0_1.getLong(3)), v0_1.getString(4));
            v8_3.add(v1_1);
        }
        if (v0_1 != null) {
            v0_1.close();
        }
        return v8_3;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.c() calling method android.net.Uri.parse()


    public static android.net.Uri c(android.database.sqlite.SQLiteDatabase p6, java.util.Set p7)
    {
        try {
            StringBuilder v1_3 = new java.util.ArrayList(p7);
            java.util.Collections.sort(v1_3);
            String v2_8 = new java.util.ArrayList(v1_3.size());
            StringBuilder v1_8 = v1_3.iterator();
        } catch (android.database.Cursor v6_2) {
            android.net.Uri v7_6 = v6_2;
            android.database.Cursor v6_1 = 0;
            if (v6_1 != null) {
                v6_1.close();
            }
            throw v7_6;
        }
        while (v1_8.hasNext()) {
            v2_8.add(com.layer.sdk.internal.lsdke.lsdkc.a.a(((String) v1_8.next())));
        }
        String[] v4 = new String[1];
        v4[0] = android.text.TextUtils.join(",", v2_8);
        v6_1 = p6.rawQuery("SELECT object_identifier, (    SELECT GROUP_CONCAT(HEX(member_id), \",\") FROM (SELECT member_id FROM conversation_participants     WHERE conversation_participants.is_deleted=0 AND conversation_participants.conversation_database_identifier=conversations.database_identifier     ORDER BY member_id)) AS participants FROM conversations WHERE participants=? AND is_deleted_all_participants=0 AND is_distinct IS 1", v4);
        try {
            StringBuilder v1_5 = new java.util.ArrayList(v6_1.getCount());
        } catch (android.net.Uri v7_6) {
        }
        while (v6_1.moveToNext()) {
            v1_5.add(android.net.Uri.parse(v6_1.getString(0)));
        }
        if (v1_5.size() > 1) {
            StringBuilder v1_7 = new StringBuilder();
            v1_7.append("More than one distinct conversation found for participants: ");
            v1_7.append(p7.toString());
            throw new IllegalStateException(v1_7.toString());
        } else {
            if (v1_5.size() <= 0) {
                if (v6_1 != null) {
                    v6_1.close();
                }
                return 0;
            } else {
                android.net.Uri v7_5 = ((android.net.Uri) v1_5.get(0));
                if (v6_1 != null) {
                    v6_1.close();
                }
                return v7_5;
            }
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.b() calling method android.net.Uri.parse()


    public static java.util.List b(android.database.sqlite.SQLiteDatabase p4, java.util.Set p5)
    {
        android.database.Cursor v0 = 0;
        try {
            String v1_3 = new java.util.ArrayList(p5);
            java.util.Collections.sort(v1_3);
            android.net.Uri v5_7 = new java.util.ArrayList(v1_3.size());
            String v1_4 = v1_3.iterator();
        } catch (java.util.ArrayList v4_3) {
            if (v0 != null) {
                v0.close();
            }
            throw v4_3;
        }
        while (v1_4.hasNext()) {
            v5_7.add(com.layer.sdk.internal.lsdke.lsdkc.a.a(((String) v1_4.next())));
        }
        String[] v2_2 = new String[1];
        v2_2[0] = android.text.TextUtils.join(",", v5_7);
        v0 = p4.rawQuery("SELECT object_identifier, (    SELECT GROUP_CONCAT(HEX(member_id), \",\") FROM (SELECT member_id FROM conversation_participants     WHERE conversation_participants.is_deleted=0 AND conversation_participants.conversation_database_identifier=conversations.database_identifier     ORDER BY member_id)) AS participants FROM conversations WHERE participants=? AND is_deleted_all_participants=0 AND is_deleted_my_devices=0", v2_2);
        java.util.ArrayList v4_2 = new java.util.ArrayList(v0.getCount());
        while (v0.moveToNext()) {
            v4_2.add(android.net.Uri.parse(v0.getString(0)));
        }
        if (v0 != null) {
            v0.close();
        }
        return v4_2;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.b() calling method android.net.Uri.parse()


    public static java.util.List b(android.database.sqlite.SQLiteDatabase p0, String p1, String[] p2)
    {
        try {
            int v0_1 = p0.rawQuery(p1, p2);
            try {
                Throwable v1_3 = new java.util.ArrayList(v0_1.getCount());
            } catch (Throwable v1_1) {
                if (v0_1 != 0) {
                    v0_1.close();
                }
                throw v1_1;
            }
            while (v0_1.moveToNext()) {
                v1_3.add(android.net.Uri.parse(v0_1.getString(0)));
            }
            if (v0_1 != 0) {
                v0_1.close();
            }
            return v1_3;
        } catch (Throwable v1_1) {
            v0_1 = 0;
        }
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.a() calling method android.net.Uri.parse()


    public static varargs java.util.List a(android.database.sqlite.SQLiteDatabase p5, com.layer.transport.thrift.sync.StreamType[] p6)
    {
        android.net.Uri v6_7;
        android.database.Cursor v1 = 0;
        if (p6 == null) {
            v6_7 = "SELECT object_identifier FROM conversations WHERE is_deleted_all_participants=0 AND is_deleted_my_devices=0 ORDER BY conversations.database_identifier";
        } else {
            if (p6.length != 0) {
                String v2_4 = new java.util.HashSet(java.util.Arrays.asList(p6));
                if ((v2_4.contains(com.layer.transport.thrift.sync.StreamType.CONVERSATION)) && (!v2_4.contains(com.layer.transport.thrift.sync.StreamType.CHANNEL))) {
                    v2_4.add(com.layer.transport.thrift.sync.StreamType.CHANNEL);
                }
                android.net.Uri v6_6 = new StringBuilder();
                v6_6.append("SELECT object_identifier FROM conversations WHERE is_deleted_all_participants=0 AND is_deleted_my_devices=0 AND type IN (");
                int v3_1 = 1;
                String v2_0 = v2_4.iterator();
                while (v2_0.hasNext()) {
                    com.layer.transport.thrift.sync.StreamType v4_2 = ((com.layer.transport.thrift.sync.StreamType) v2_0.next());
                    if (v3_1 == 0) {
                        v6_6.append(", ");
                    }
                    v6_6.append(v4_2.getValue());
                    v3_1 = 0;
                }
                v6_6.append(") ORDER BY conversations.database_identifier");
                v6_7 = v6_6.toString();
            } else {
            }
        }
        v1 = p5.rawQuery(v6_7, 0);
        java.util.ArrayList v5_3 = new java.util.ArrayList(v1.getCount());
        while (v1.moveToNext()) {
            v5_3.add(android.net.Uri.parse(v1.getString(0)));
        }
        if (v1 != null) {
            v1.close();
        }
        return v5_3;
    }

Method com.layer.sdk.internal.lsdke.lsdkc.a.a() calling method android.net.Uri.parse()


    public static java.util.List a(android.database.sqlite.SQLiteDatabase p4, long p5, String p7, long p8)
    {
        try {
            String[] v0_1 = new String[4];
            v0_1[0] = p7;
            v0_1[1] = String.valueOf(p5);
            v0_1[2] = String.valueOf(p8);
            v0_1[3] = p7;
            android.database.Cursor v1 = p4.rawQuery("SELECT m.object_identifier FROM messages AS m LEFT OUTER JOIN message_recipient_status AS mrs ON m.database_identifier = mrs.message_database_identifier  AND mrs.user_id = ? WHERE m.conversation_database_identifier = ? AND (mrs.status != 3 OR mrs.status IS NULL) AND m.message_index <= ? AND m.user_id != ?", v0_1);
            Throwable v4_2 = new java.util.ArrayList(v1.getCount());
        } catch (Throwable v4_3) {
            if (v1 != null) {
                v1.close();
            }
            throw v4_3;
        }
        while (v1.moveToNext()) {
            v4_2.add(android.net.Uri.parse(v1.getString(0)));
        }
        if (v1 != null) {
            v1.close();
        }
        return v4_2;
    }

Method com.layer.sdk.internal.lsdkd.m.a() calling method android.net.Uri.parse()


    public static android.net.Uri a(String p4)
    {
        android.net.Uri v0 = android.net.Uri.parse(p4);
        ark>com.layer.sdk.internal.lsdkd.mark>$a v1 = ark>com.layer.sdk.internal.lsdkd.mark>.b(v0);
        if ((v1 != ark>com.layer.sdk.internal.lsdkd.mark>$a.a) && (v1 != ark>com.layer.sdk.internal.lsdkd.mark>$a.b)) {
            throw new IllegalArgumentException("Not a valid Layer App ID");
        } else {
            if (v1.a(p4) == null) {
                throw new IllegalArgumentException("Not a valid Layer App ID");
            } else {
                return v0;
            }
        }
    }

Method com.google.firebase.messaging.zza.zzf() calling method android.net.Uri.parse()


    public final com.google.firebase.messaging.zzc zzf(android.os.Bundle p8)
    {
        androidx.core.app.NotificationCompat$Builder v0_1 = new androidx.core.app.NotificationCompat$Builder(this.zzag, this.zzm(com.google.firebase.messaging.zza.zza(p8, "gcm.n.android_channel_id")));
        v0_1.setAutoCancel(1);
        v0_1.setContentTitle(this.zzg(p8));
        android.app.PendingIntent v1_14 = this.zzc(p8, "gcm.n.body");
        if (!android.text.TextUtils.isEmpty(v1_14)) {
            v0_1.setContentText(v1_14);
            v0_1.setStyle(new androidx.core.app.NotificationCompat$BigTextStyle().bigText(v1_14));
        }
        android.app.PendingIntent v1_30;
        v0_1.setSmallIcon(this.zzk(com.google.firebase.messaging.zza.zza(p8, "gcm.n.icon")));
        android.app.PendingIntent v1_28 = com.google.firebase.messaging.zza.zzi(p8);
        android.app.PendingIntent v3 = 0;
        if (!android.text.TextUtils.isEmpty(v1_28)) {
            if (("default".equals(v1_28)) || (this.zzag.getResources().getIdentifier(v1_28, "raw", this.zzdu) == 0)) {
                v1_30 = android.media.RingtoneManager.getDefaultUri(2);
            } else {
                int v2_23 = this.zzdu;
                boolean v5_13 = new StringBuilder(((String.valueOf(v2_23).length() + 24) + String.valueOf(v1_28).length()));
                v5_13.append("android.resource://");
                v5_13.append(v2_23);
                v5_13.append("/raw/");
                v5_13.append(v1_28);
                v1_30 = android.net.Uri.parse(v5_13.toString());
            }
        } else {
            v1_30 = 0;
        }
        if (v1_30 != null) {
            v0_1.setSound(v1_30);
        }
        int v2_1;
        android.app.PendingIntent v1_34 = com.google.firebase.messaging.zza.zza(p8, "gcm.n.click_action");
        if (android.text.TextUtils.isEmpty(v1_34)) {
            android.app.PendingIntent v1_35 = com.google.firebase.messaging.zza.a(p8);
            if (v1_35 == null) {
                v2_1 = this.zzag.getPackageManager().getLaunchIntentForPackage(this.zzdu);
                if (v2_1 == 0) {
                    android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                }
            } else {
                v2_1 = new android.content.Intent("android.intent.action.VIEW");
                v2_1.setPackage(this.zzdu);
                v2_1.setData(v1_35);
            }
        } else {
            v2_1 = new android.content.Intent(v1_34);
            v2_1.setPackage(this.zzdu);
            v2_1.setFlags(268435456);
        }
        android.app.PendingIntent v1_11;
        if (v2_1 != 0) {
            v2_1.addFlags(67108864);
            android.app.PendingIntent v1_6 = new android.os.Bundle(p8);
            StringBuilder v4_2 = v1_6.keySet().iterator();
            while (v4_2.hasNext()) {
                boolean v5_7 = ((String) v4_2.next());
                if ((v5_7) && (v5_7.startsWith("google.c."))) {
                    v4_2.remove();
                }
            }
            v2_1.putExtras(v1_6);
            android.app.PendingIntent v1_8 = v1_6.keySet().iterator();
            while (v1_8.hasNext()) {
                StringBuilder v4_9 = ((String) v1_8.next());
                if ((v4_9.startsWith("gcm.n.")) || (v4_9.startsWith("gcm.notification."))) {
                    v2_1.removeExtra(v4_9);
                }
            }
            v1_11 = android.app.PendingIntent.getActivity(this.zzag, com.google.firebase.messaging.zza.zzdt.incrementAndGet(), v2_1, 1073741824);
            if (com.google.firebase.messaging.zza.zzk(p8)) {
                int v2_4 = new android.content.Intent("com.google.firebase.messaging.NOTIFICATION_OPEN");
                com.google.firebase.messaging.zza.zza(v2_4, p8);
                v2_4.putExtra("pending_intent", v1_11);
                v1_11 = this.zza(com.google.firebase.messaging.zza.zzdt.incrementAndGet(), v2_4);
            }
        } else {
            v1_11 = 0;
        }
        v0_1.setContentIntent(v1_11);
        if (com.google.firebase.messaging.zza.zzk(p8)) {
            android.app.PendingIntent v1_17 = new android.content.Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS");
            com.google.firebase.messaging.zza.zza(v1_17, p8);
            v3 = this.zza(com.google.firebase.messaging.zza.zzdt.incrementAndGet(), v1_17);
        }
        if (v3 != null) {
            v0_1.setDeleteIntent(v3);
        }
        android.app.PendingIntent v1_20 = this.zzl(com.google.firebase.messaging.zza.zza(p8, "gcm.n.color"));
        if (v1_20 != null) {
            v0_1.setColor(v1_20.intValue());
        }
        String v8_1 = com.google.firebase.messaging.zza.zza(p8, "gcm.n.tag");
        if (android.text.TextUtils.isEmpty(v8_1)) {
            int v2_13 = android.os.SystemClock.uptimeMillis();
            StringBuilder v4_11 = new StringBuilder(37);
            v4_11.append("FCM-Notification:");
            v4_11.append(v2_13);
            v8_1 = v4_11.toString();
        }
        return new com.google.firebase.messaging.zzc(v0_1, v8_1, 0);
    }

Method com.google.firebase.messaging.zza.a() calling method android.net.Uri.parse()


    static android.net.Uri a(android.os.Bundle p2)
    {
        String v0_1 = ark>com.google.firebase.messaging.zzaark>.zza(p2, "gcm.n.link_android");
        if (android.text.TextUtils.isEmpty(v0_1)) {
            v0_1 = ark>com.google.firebase.messaging.zzaark>.zza(p2, "gcm.n.link");
        }
        if (android.text.TextUtils.isEmpty(v0_1)) {
            return 0;
        } else {
            return android.net.Uri.parse(v0_1);
        }
    }

Method com.google.firebase.messaging.RemoteMessage$Notification.getImageUrl() calling method android.net.Uri.parse()


    public android.net.Uri getImageUrl()
    {
        int v0_0 = this.zzer;
        if (v0_0 == 0) {
            return 0;
        } else {
            return android.net.Uri.parse(v0_0);
        }
    }

Method androidx.cursoradapter.widget.SimpleCursorAdapter.setViewImage() calling method android.net.Uri.parse()


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

Method androidx.appcompat.widget.SuggestionsAdapter.getDrawableFromResourceValue() calling method android.net.Uri.parse()

Couldn't retrieve source code

Method com.google.android.gms.location.places.internal.zzas.getWebsiteUri() calling method android.net.Uri.parse()


    public final android.net.Uri getWebsiteUri()
    {
        String v1_1 = this.zzc("place_website_uri", 0);
        if (v1_1 != null) {
            return android.net.Uri.parse(v1_1);
        } else {
            return 0;
        }
    }

Method com.google.android.gms.common.images.WebImage.zaa() calling method android.net.Uri.parse()

Couldn't retrieve source code

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


    public static com.google.android.gms.auth.api.signin.GoogleSignInAccount zaa(String p13)
    {
        if (!android.text.TextUtils.isEmpty(p13)) {
            int v8;
            String v0_2 = new org.json.JSONObject(p13);
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v13_10 = v0_2.optString("photoUrl", 0);
            if (android.text.TextUtils.isEmpty(v13_10)) {
                v8 = 0;
            } else {
                v8 = android.net.Uri.parse(v13_10);
            }
            String v2_1 = Long.parseLong(v0_2.getString("expirationTime"));
            java.util.HashSet v11_1 = new java.util.HashSet();
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v13_5 = v0_2.getJSONArray("grantedScopes");
            String v4_0 = v13_5.length();
            String v5_0 = 0;
            while (v5_0 < v4_0) {
                v11_1.add(new com.google.android.gms.common.api.Scope(v13_5.getString(v5_0)));
                v5_0++;
            }
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v13_9 = com.google.android.gms.auth.api.signin.GoogleSignInAccount.zaa(v0_2.optString("id"), v0_2.optString("tokenId", 0), v0_2.optString("email", 0), v0_2.optString("displayName", 0), v0_2.optString("givenName", 0), v0_2.optString("familyName", 0), v8, Long.valueOf(v2_1), v0_2.getString("obfuscatedIdentifier"), v11_1);
            v13_9.zaj = v0_2.optString("serverAuthCode", 0);
            return v13_9;
        } else {
            return 0;
        }
    }

Method com.google.android.gms.auth.api.credentials.Credential.<init>() calling method android.net.Uri.parse()


    Credential(String p5, String p6, android.net.Uri p7, java.util.List p8, String p9, String p10, String p11, String p12)
    {
        IllegalArgumentException v5_6 = ((String) com.google.android.gms.common.internal.Preconditions.checkNotNull(p5, "credential identifier cannot be null")).trim();
        com.google.android.gms.common.internal.Preconditions.checkNotEmpty(v5_6, "credential identifier cannot be empty");
        if ((p9 != null) && (android.text.TextUtils.isEmpty(p9))) {
            throw new IllegalArgumentException("Password must not be empty if set");
        } else {
            if (p10 != null) {
                int v1 = 0;
                if (!android.text.TextUtils.isEmpty(p10)) {
                    boolean v0_3 = android.net.Uri.parse(p10);
                    if ((v0_3.isAbsolute()) && ((v0_3.isHierarchical()) && ((!android.text.TextUtils.isEmpty(v0_3.getScheme())) && ((!android.text.TextUtils.isEmpty(v0_3.getAuthority())) && (("http".equalsIgnoreCase(v0_3.getScheme())) || ("https".equalsIgnoreCase(v0_3.getScheme()))))))) {
                        v1 = 1;
                    }
                }
                if (!Boolean.valueOf(v1).booleanValue()) {
                    throw new IllegalArgumentException("Account type must be a valid Http/Https URI");
                }
            }
            if ((!android.text.TextUtils.isEmpty(p10)) && (!android.text.TextUtils.isEmpty(p9))) {
                throw new IllegalArgumentException("Password and AccountType are mutually exclusive");
            } else {
                if ((p6 != null) && (android.text.TextUtils.isEmpty(p6.trim()))) {
                    p6 = 0;
                }
                java.util.List v6_4;
                this.mName = p6;
                this.zzo = p7;
                if (p8 != null) {
                    v6_4 = java.util.Collections.unmodifiableList(p8);
                } else {
                    v6_4 = java.util.Collections.emptyList();
                }
                this.zzp = v6_4;
                this.mId = v5_6;
                this.zzq = p9;
                this.zzr = p10;
                this.zzs = p11;
                this.zzt = p12;
                return;
            }
        }
    }

Method androidx.core.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)) {
            return android.net.Uri.parse(((String) this.a));
        } else {
            return androidx.core.graphics.drawable.IconCompat.getUri(((android.graphics.drawable.Icon) this.a));
        }
    }

Method androidx.core.graphics.drawable.IconCompat.loadDrawableInner() calling method android.net.Uri.parse()


    private android.graphics.drawable.Drawable loadDrawableInner(android.content.Context p8)
    {
        android.graphics.Bitmap v0_0 = this.mType;
        if (v0_0 == 1) {
            return new android.graphics.drawable.BitmapDrawable(p8.getResources(), ((android.graphics.Bitmap) this.a));
        } else {
            if (v0_0 == 2) {
                android.graphics.Bitmap v0_4 = this.getResPackage();
                if (android.text.TextUtils.isEmpty(v0_4)) {
                    v0_4 = p8.getPackageName();
                }
                try {
                    return androidx.core.content.res.ResourcesCompat.getDrawable(androidx.core.graphics.drawable.IconCompat.getResources(p8, v0_4), this.mInt1, p8.getTheme());
                } catch (android.content.res.Resources v8_5) {
                    android.graphics.Bitmap v0_7 = new Object[2];
                    v0_7[0] = Integer.valueOf(this.mInt1);
                    v0_7[1] = this.a;
                    android.util.Log.e("IconCompat", String.format("Unable to load resource 0x%08x from pkg=%s", v0_7), v8_5);
                }
            } else {
                if (v0_0 == 3) {
                    return new android.graphics.drawable.BitmapDrawable(p8.getResources(), android.graphics.BitmapFactory.decodeByteArray(((byte[]) ((byte[]) this.a)), this.mInt1, this.mInt2));
                } else {
                    if (v0_0 == 4) {
                        android.graphics.Bitmap v0_14;
                        android.graphics.Bitmap v0_13 = android.net.Uri.parse(((String) this.a));
                        android.graphics.drawable.BitmapDrawable v1_14 = v0_13.getScheme();
                        if ((!"content".equals(v1_14)) && (!"file".equals(v1_14))) {
                            try {
                                v0_14 = new java.io.FileInputStream(new java.io.File(((String) this.a)));
                            } catch (android.graphics.drawable.BitmapDrawable v1_19) {
                                StringBuilder v2_9 = new StringBuilder();
                                String v4_5 = "Unable to load image from path: ";
                                v2_9.append(v4_5);
                                v2_9.append(v0_14);
                                android.util.Log.w("IconCompat", v2_9.toString(), v1_19);
                                v0_14 = 0;
                            }
                        } else {
                            try {
                                v0_14 = p8.getContentResolver().openInputStream(v0_13);
                            } catch (android.graphics.drawable.BitmapDrawable v1_19) {
                                v2_9 = new StringBuilder();
                                v4_5 = "Unable to load image from URI: ";
                            }
                        }
                        if (v0_14 != null) {
                            return new android.graphics.drawable.BitmapDrawable(p8.getResources(), android.graphics.BitmapFactory.decodeStream(v0_14));
                        }
                    } else {
                        if (v0_0 == 5) {
                            return new android.graphics.drawable.BitmapDrawable(p8.getResources(), androidx.core.graphics.drawable.IconCompat.a(((android.graphics.Bitmap) this.a), 0));
                        }
                    }
                }
            }
            return 0;
        }
    }

Method com.bumptech.glide.load.model.StringLoader.parseUri() calling method android.net.Uri.parse()


    private static android.net.Uri parseUri(String p2)
    {
        if (!android.text.TextUtils.isEmpty(p2)) {
            android.net.Uri v2_1;
            if (p2.charAt(0) != 47) {
                android.net.Uri v0_3 = android.net.Uri.parse(p2);
                if (v0_3.getScheme() != null) {
                    v2_1 = v0_3;
                } else {
                    v2_1 = com.bumptech.glide.load.model.StringLoader.toFileUri(p2);
                }
            }
            return v2_1;
        } else {
            return 0;
        }
    }

Method com.bumptech.glide.load.model.ResourceLoader.getResourceUri() calling method android.net.Uri.parse()


    private android.net.Uri getResourceUri(Integer p5)
    {
        try {
            android.content.res.Resources$NotFoundException v0_1 = new StringBuilder();
            v0_1.append("android.resource://");
            v0_1.append(this.resources.getResourcePackageName(p5.intValue()));
            v0_1.append(47);
            v0_1.append(this.resources.getResourceTypeName(p5.intValue()));
            v0_1.append(47);
            v0_1.append(this.resources.getResourceEntryName(p5.intValue()));
            int v5_1 = android.net.Uri.parse(v0_1.toString());
            return v5_1;
        } catch (android.content.res.Resources$NotFoundException v0_3) {
            if (android.util.Log.isLoggable("ResourceLoader", 5)) {
                StringBuilder v1_7 = new StringBuilder();
                v1_7.append("Received invalid resource id: ");
                v1_7.append(v5_1);
                android.util.Log.w("ResourceLoader", v1_7.toString(), v0_3);
            }
            return 0;
        }
    }

Method androidx.navigation.ActivityNavigator.navigate() calling method android.net.Uri.parse()


    public androidx.navigation.NavDestination navigate(androidx.navigation.ActivityNavigator$Destination p7, android.os.Bundle p8, androidx.navigation.NavOptions p9, androidx.navigation.Navigator$Extras p10)
    {
        if (p7.getIntent() == null) {
            android.app.Activity v9_6 = new StringBuilder();
            v9_6.append("Destination ");
            v9_6.append(p7.getId());
            v9_6.append(" does not have an Intent set.");
            throw new IllegalStateException(v9_6.toString());
        } else {
            android.content.Intent v0_2 = new android.content.Intent(p7.getIntent());
            if (p8 != 0) {
                v0_2.putExtras(p8);
                String v1_1 = p7.getDataPattern();
                if (!android.text.TextUtils.isEmpty(v1_1)) {
                    String v2_2 = new StringBuffer();
                    int v3_2 = java.util.regex.Pattern.compile("\\{(.+?)\\}").matcher(v1_1);
                    while (v3_2.find()) {
                        String v4_1 = v3_2.group(1);
                        if (!p8.containsKey(v4_1)) {
                            android.app.Activity v9_4 = new StringBuilder();
                            v9_4.append("Could not find ");
                            v9_4.append(v4_1);
                            v9_4.append(" in ");
                            v9_4.append(p8);
                            v9_4.append(" to fill data pattern ");
                            v9_4.append(v1_1);
                            throw new IllegalArgumentException(v9_4.toString());
                        } else {
                            v3_2.appendReplacement(v2_2, "");
                            v2_2.append(android.net.Uri.encode(p8.get(v4_1).toString()));
                        }
                    }
                    v3_2.appendTail(v2_2);
                    v0_2.setData(android.net.Uri.parse(v2_2.toString()));
                }
            }
            int v8_8 = (p10 instanceof androidx.navigation.ActivityNavigator$Extras);
            if (v8_8 != 0) {
                v0_2.addFlags(((androidx.navigation.ActivityNavigator$Extras) p10).getFlags());
            }
            if (!(this.mContext instanceof android.app.Activity)) {
                v0_2.addFlags(268435456);
            }
            if ((p9 != null) && (p9.shouldLaunchSingleTop())) {
                v0_2.addFlags(536870912);
            }
            String v1_10 = this.mHostActivity;
            if (v1_10 != null) {
                String v1_11 = v1_10.getIntent();
                if (v1_11 != null) {
                    String v1_12 = v1_11.getIntExtra("android-support-navigation:ActivityNavigator:current", 0);
                    if (v1_12 != null) {
                        v0_2.putExtra("android-support-navigation:ActivityNavigator:source", v1_12);
                    }
                }
            }
            v0_2.putExtra("android-support-navigation:ActivityNavigator:current", p7.getId());
            if (p9 != null) {
                v0_2.putExtra("android-support-navigation:ActivityNavigator:popEnterAnim", p9.getPopEnterAnim());
                v0_2.putExtra("android-support-navigation:ActivityNavigator:popExitAnim", p9.getPopExitAnim());
            }
            if (v8_8 == 0) {
                this.mContext.startActivity(v0_2);
            } else {
                int v7_10 = ((androidx.navigation.ActivityNavigator$Extras) p10).getActivityOptions();
                if (v7_10 == 0) {
                } else {
                    androidx.core.app.ActivityCompat.startActivity(this.mContext, v0_2, v7_10.toBundle());
                }
            }
            if ((p9 != null) && (this.mHostActivity != null)) {
                int v7_1 = p9.getEnterAnim();
                int v8_1 = p9.getExitAnim();
                if ((v7_1 != -1) || (v8_1 != -1)) {
                    if (v7_1 == -1) {
                        v7_1 = 0;
                    }
                    if (v8_1 == -1) {
                        v8_1 = 0;
                    }
                    this.mHostActivity.overridePendingTransition(v7_1, v8_1);
                }
            }
            return 0;
        }
    }

Method androidx.navigation.ActivityNavigator$Destination.onInflate() calling method android.net.Uri.parse()


    public void onInflate(android.content.Context p4, android.util.AttributeSet p5)
    {
        super.onInflate(p4, p5);
        android.content.res.TypedArray v5_1 = p4.getResources().obtainAttributes(p5, androidx.navigation.R$styleable.ActivityNavigator);
        Class v0_3 = v5_1.getString(androidx.navigation.R$styleable.ActivityNavigator_android_name);
        if (v0_3 != null) {
            this.setComponentName(new android.content.ComponentName(p4, androidx.navigation.ActivityNavigator$Destination.a(p4, v0_3, android.app.Activity)));
        }
        this.setAction(v5_1.getString(androidx.navigation.R$styleable.ActivityNavigator_action));
        String v4_4 = v5_1.getString(androidx.navigation.R$styleable.ActivityNavigator_data);
        if (v4_4 != null) {
            this.setData(android.net.Uri.parse(v4_4));
        }
        this.setDataPattern(v5_1.getString(androidx.navigation.R$styleable.ActivityNavigator_dataPattern));
        v5_1.recycle();
        return;
    }

Method androidx.core.app.ActivityCompat.getReferrer() calling method android.net.Uri.parse()


    public static android.net.Uri getReferrer(android.app.Activity p2)
    {
        if (android.os.Build$VERSION.SDK_INT < 22) {
            int v2_5 = p2.getIntent();
            String v0_4 = ((android.net.Uri) v2_5.getParcelableExtra("android.intent.extra.REFERRER"));
            if (v0_4 == null) {
                int v2_1 = v2_5.getStringExtra("android.intent.extra.REFERRER_NAME");
                if (v2_1 == 0) {
                    return 0;
                } else {
                    return android.net.Uri.parse(v2_1);
                }
            } else {
                return v0_4;
            }
        } else {
            return p2.getReferrer();
        }
    }

Method androidx.appcompat.widget.SearchView.createIntentFromSuggestion() calling method android.net.Uri.parse()


    private android.content.Intent createIntentFromSuggestion(android.database.Cursor p9, int p10, String p11)
    {
        try {
            androidx.appcompat.widget.SearchView v1_6 = androidx.appcompat.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_action");
        } catch (RuntimeException v10_1) {
            try {
                android.content.Intent v9_1 = p9.getPosition();
            } catch (RuntimeException) {
                v9_1 = -1;
            }
            String v11_2 = new StringBuilder();
            v11_2.append("Search suggestions cursor at row ");
            v11_2.append(v9_1);
            v11_2.append(" returned exception.");
            android.util.Log.w("SearchView", v11_2.toString(), v10_1);
            return 0;
        }
        if (v1_6 == null) {
            v1_6 = this.h.getSuggestIntentAction();
        }
        if (v1_6 == null) {
            v1_6 = "android.intent.action.SEARCH";
        }
        String v2 = v1_6;
        androidx.appcompat.widget.SearchView v1_2 = androidx.appcompat.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_data");
        if (v1_2 == null) {
            v1_2 = this.h.getSuggestIntentData();
        }
        if (v1_2 != null) {
            android.net.Uri v3_1 = androidx.appcompat.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_data_id");
            if (v3_1 != null) {
                String v4_1 = new StringBuilder();
                v4_1.append(v1_2);
                v4_1.append("/");
                v4_1.append(android.net.Uri.encode(v3_1));
                v1_2 = v4_1.toString();
            }
        }
        android.net.Uri v3_2;
        if (v1_2 != null) {
            v3_2 = android.net.Uri.parse(v1_2);
        } else {
            v3_2 = 0;
        }
        return this.createIntent(v2, v3_2, androidx.appcompat.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_extra_data"), androidx.appcompat.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_query"), p10, p11);
    }

Method com.google.android.gms.measurement.internal.zzbo.onReceive() calling method android.net.Uri.parse()


    public final void onReceive(android.content.Context p13, android.content.Intent p14)
    {
        com.google.android.gms.measurement.internal.zzby v3 = com.google.android.gms.measurement.internal.zzby.zza(p13, 0);
        com.google.android.gms.measurement.internal.zzau v8 = v3.zzad();
        if (p14 != null) {
            v3.zzag();
            com.google.android.gms.measurement.internal.zzbq v0_15 = p14.getAction();
            v8.zzdi().zza("Local receiver got", v0_15);
            if (!"com.google.android.gms.measurement.UPLOAD".equals(v0_15)) {
                if ("com.android.vending.INSTALL_REFERRER".equals(v0_15)) {
                    try {
                        v3.zzac().zza(new com.google.android.gms.measurement.internal.zzbp(this, v3, v8));
                    } catch (com.google.android.gms.measurement.internal.zzbq v0_5) {
                        v8.zzdd().zza("Install Referrer Reporter encountered a problem", v0_5);
                    }
                    android.content.BroadcastReceiver$PendingResult v9 = this.zzmj.doGoAsync();
                    com.google.android.gms.measurement.internal.zzbq v0_8 = p14.getStringExtra("referrer");
                    if (v0_8 != null) {
                        v8.zzdg().zza("Install referrer extras are", v0_8);
                        if (!v0_8.contains("?")) {
                            com.google.android.gms.measurement.internal.zzbq v0_9 = String.valueOf(v0_8);
                            if (v0_9.length() == 0) {
                                v0_8 = new String("?");
                            } else {
                                v0_8 = "?".concat(v0_9);
                            }
                        }
                        android.os.Bundle v6 = v3.zzab().zza(android.net.Uri.parse(v0_8));
                        if (v6 != null) {
                            long v4_1 = (p14.getLongExtra("referrer_timestamp_seconds", 0) * 1000);
                            if (v4_1 == 0) {
                                v8.zzdd().zzaq("Install referrer is missing timestamp");
                            }
                            com.google.android.gms.measurement.internal.zzbt v14_5 = v3.zzac();
                            com.google.android.gms.measurement.internal.zzbq v0_14 = new com.google.android.gms.measurement.internal.zzbq;
                            v0_14(this, v3, v4_1, v6, p13, v8, v9);
                            v14_5.zza(v0_14);
                        } else {
                            v8.zzdi().zzaq("No campaign defined in install referrer broadcast");
                            if (v9 != null) {
                                v9.finish();
                                return;
                            }
                        }
                    } else {
                        v8.zzdi().zzaq("Install referrer extras are null");
                        if (v9 != null) {
                            v9.finish();
                        }
                        return;
                    }
                }
                return;
            } else {
                com.google.android.gms.measurement.internal.zzbt v14_1 = new android.content.Intent().setClassName(p13, "com.google.android.gms.measurement.AppMeasurementService");
                v14_1.setAction("com.google.android.gms.measurement.UPLOAD");
                v8.zzdi().zzaq("Starting wakeful intent.");
                this.zzmj.doStartService(p13, v14_1);
                return;
            }
        } else {
            v8.zzdd().zzaq("Receiver called with null intent");
            return;
        }
    }

Method com.google.android.gms.measurement.internal.zzbn.run() calling method android.net.Uri.parse()


    public final void run()
    {
        android.content.Context v0_1 = this.zzmi.zzmf;
        android.content.ServiceConnection v3 = this.zzmh;
        com.google.android.gms.measurement.internal.zzdd v1_22 = v0_1.zza(com.google.android.gms.measurement.internal.zzbm.zza(this.zzmi), this.zzmg);
        v0_1.zzl.zzac().zzq();
        if (v1_22 != null) {
            com.google.android.gms.measurement.internal.zzdd v1_6;
            String v2_1;
            long v6_1 = (v1_22.getLong("install_begin_timestamp_seconds", 0) * 1000);
            if (v6_1 != 0) {
                String v2_5 = v1_22.getString("install_referrer");
                if ((v2_5 != null) && (!v2_5.isEmpty())) {
                    String v2_8;
                    v0_1.zzl.zzad().zzdi().zza("InstallReferrer API result", v2_5);
                    long v10_5 = v0_1.zzl.zzab();
                    String v2_6 = String.valueOf(v2_5);
                    if (v2_6.length() == 0) {
                        v2_8 = new String("?");
                    } else {
                        v2_8 = "?".concat(v2_6);
                    }
                    String v2_11 = v10_5.zza(android.net.Uri.parse(v2_8));
                    if (v2_11 != null) {
                        long v10_9;
                        long v10_7 = v2_11.getString("medium");
                        if ((v10_7 == 0) || (("(not set)".equalsIgnoreCase(v10_7)) || ("organic".equalsIgnoreCase(v10_7)))) {
                            v10_9 = 0;
                        } else {
                            v10_9 = 1;
                        }
                        if (v10_9 != 0) {
                            long v10_12 = (v1_22.getLong("referrer_click_timestamp_seconds", 0) * 1000);
                            if (v10_12 != 0) {
                                v2_11.putLong("click_timestamp", v10_12);
                            } else {
                                v1_6 = v0_1.zzl.zzad().zzda();
                                v2_1 = "Install Referrer is missing click timestamp for ad campaign";
                                v1_6.zzaq(v2_1);
                                if (v3 != null) {
                                    com.google.android.gms.common.stats.ConnectionTracker.getInstance().unbindService(v0_1.zzl.getContext(), v3);
                                }
                                return;
                            }
                        }
                        if (v6_1 != v0_1.zzl.zzae().zzlh.get()) {
                            v0_1.zzl.zzae().zzlh.set(v6_1);
                            v0_1.zzl.zzag();
                            v0_1.zzl.zzad().zzdi().zza("Logging Install Referrer campaign from sdk with ", "referrer API");
                            v2_11.putString("_cis", "referrer API");
                            v0_1.zzl.zzs().logEvent("auto", "_cmp", v2_11);
                        } else {
                            v0_1.zzl.zzag();
                            v1_6 = v0_1.zzl.zzad().zzdi();
                            v2_1 = "Campaign has already been logged";
                        }
                    } else {
                        v1_6 = v0_1.zzl.zzad().zzda();
                        v2_1 = "No campaign params defined in install referrer result";
                    }
                } else {
                    v1_6 = v0_1.zzl.zzad().zzda();
                    v2_1 = "No referrer defined in install referrer response";
                }
            } else {
                v1_6 = v0_1.zzl.zzad().zzda();
                v2_1 = "Service response is missing Install Referrer install timestamp";
            }
        }
    }

Method com.google.android.gms.internal.measurement.zzcv.zzcd() calling method android.net.Uri.parse()


    public static android.net.Uri zzcd(String p2)
    {
        android.net.Uri v2_2;
        android.net.Uri v2_4 = String.valueOf(android.net.Uri.encode(p2));
        if (v2_4.length() == 0) {
            v2_2 = new String("content://com.google.android.gms.phenotype/");
        } else {
            v2_2 = "content://com.google.android.gms.phenotype/".concat(v2_4);
        }
        return android.net.Uri.parse(v2_2);
    }

Method com.google.android.gms.internal.measurement.zzci.<clinit>() calling method android.net.Uri.parse()


    static zzci()
    {
        com.google.android.gms.internal.measurement.zzci.CONTENT_URI = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.measurement.zzci.zzyu = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.measurement.zzci.zzyv = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.measurement.zzci.zzyw = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.measurement.zzci.zzyx = new java.util.concurrent.atomic.AtomicBoolean();
        com.google.android.gms.internal.measurement.zzci.zzyz = new java.util.HashMap();
        com.google.android.gms.internal.measurement.zzci.zzza = new java.util.HashMap();
        com.google.android.gms.internal.measurement.zzci.zzzb = new java.util.HashMap();
        com.google.android.gms.internal.measurement.zzci.zzzc = new java.util.HashMap();
        String[] v0_14 = new String[0];
        com.google.android.gms.internal.measurement.zzci.zzzf = v0_14;
        return;
    }

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


    private static int zzc(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_8 = 0;
            try {
                if (!(v8_5 instanceof com.google.android.gms.dynamite.DynamiteModule$LoadingException)) {
                    throw new com.google.android.gms.dynamite.DynamiteModule$LoadingException("V2 version check failed", v8_5, 0);
                } else {
                    throw v8_5;
                }
            } catch (Throwable v8_6) {
                v0 = v9_8;
            }
            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$LoadingException("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.zzii = v8_3.getString(2);
                    android.database.Cursor v1_4 = v8_3.getColumnIndex("loaderVersion");
                    if (v1_4 >= null) {
                        com.google.android.gms.dynamite.DynamiteModule.zzij = v8_3.getInt(v1_4);
                    }
                    com.google.android.gms.dynamite.DynamiteModule$zza v10_9 = ((com.google.android.gms.dynamite.DynamiteModule$zza) com.google.android.gms.dynamite.DynamiteModule.zzik.get());
                    if ((v10_9 != null) && (v10_9.zzio == null)) {
                        v10_9.zzio = v8_3;
                        v8_3 = 0;
                    }
                }
            }
        } catch (Throwable v9_10) {
            v0 = v8_3;
            v8_6 = v9_10;
        } catch (Throwable v9_9) {
            v9_8 = v8_3;
            v8_5 = v9_9;
        }
    }

Method com.google.android.gms.common.internal.zzg.zza() calling method android.net.Uri.parse()


    public static android.content.Intent zza(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 com.google.android.gms.common.internal.zzg.<clinit>() calling method android.net.Uri.parse()


    static zzg()
    {
        android.net.Uri v0_3 = android.net.Uri.parse("https://plus.google.com/");
        com.google.android.gms.common.internal.zzg.zzed = v0_3;
        com.google.android.gms.common.internal.zzg.zzee = v0_3.buildUpon().appendPath("circles").appendPath("find").build();
        return;
    }

Method org.apache.http.impl.client.AutoRetryHttpClient.execute() calling method org.apache.http.client.HttpClient.execute()


    public org.apache.http.HttpResponse execute(org.apache.http.HttpHost p8, org.apache.http.HttpRequest p9, org.apache.http.protocol.HttpContext p10)
    {
        String v0_0 = 1;
        while(true) {
            org.apache.http.HttpResponse v1_1 = this.backend.execute(p8, p9, p10);
            if (!this.retryStrategy.retryRequest(v1_1, v0_0, p10)) {
                break;
            }
            org.apache.http.util.EntityUtils.consume(v1_1.getEntity());
            long v2_2 = this.retryStrategy.getRetryInterval();
            org.apache.commons.logging.Log v4 = this.log;
            String v5_1 = new StringBuilder();
            v5_1.append("Wait for ");
            v5_1.append(v2_2);
            v4.trace(v5_1.toString());
            Thread.sleep(v2_2);
            v0_0++;
        }
        return v1_1;
    }

Method org.apache.http.impl.client.HttpRequestTaskCallable.call() calling method org.apache.http.client.HttpClient.execute()


    public Object call()
    {
        if (this.cancelled.get()) {
            org.apache.http.concurrent.FutureCallback v1_13 = new StringBuilder();
            v1_13.append("call has been cancelled for request ");
            v1_13.append(this.request.getURI());
            throw new IllegalStateException(v1_13.toString());
        } else {
            try {
                this.metrics.a().incrementAndGet();
                this.started = System.currentTimeMillis();
                try {
                    this.metrics.b().decrementAndGet();
                    Exception v0_9 = this.httpclient.execute(this.request, this.responseHandler, this.context);
                    this.ended = System.currentTimeMillis();
                    this.metrics.c().increment(this.started);
                } catch (Exception v0_11) {
                    this.metrics.d().increment(this.started);
                    this.ended = System.currentTimeMillis();
                    if (this.callback != null) {
                        this.callback.failed(v0_11);
                    }
                    throw v0_11;
                }
                if (this.callback != null) {
                    this.callback.completed(v0_9);
                }
                this.metrics.e().increment(this.started);
                this.metrics.f().increment(this.started);
                this.metrics.a().decrementAndGet();
                return v0_9;
            } catch (Exception v0_12) {
                this.metrics.e().increment(this.started);
                this.metrics.f().increment(this.started);
                this.metrics.a().decrementAndGet();
                throw v0_12;
            }
        }
    }

Method com.google.api.client.http.apache.ApacheHttpRequest.execute() calling method org.apache.http.client.HttpClient.execute()


    public com.google.api.client.http.LowLevelHttpResponse execute()
    {
        if (this.getStreamingContent() != null) {
            com.google.api.client.http.apache.ApacheHttpResponse v0_5 = this.request;
            org.apache.http.client.methods.HttpRequestBase v1_6 = (v0_5 instanceof org.apache.http.HttpEntityEnclosingRequest);
            org.apache.http.HttpResponse v2_3 = new Object[1];
            v2_3[0] = v0_5.getRequestLine().getMethod();
            com.google.api.client.util.Preconditions.checkArgument(v1_6, "Apache HTTP client does not support %s requests with content.", v2_3);
            com.google.api.client.http.apache.ApacheHttpResponse v0_4 = new com.google.api.client.http.apache.ContentEntity(this.getContentLength(), this.getStreamingContent());
            v0_4.setContentEncoding(this.getContentEncoding());
            v0_4.setContentType(this.getContentType());
            ((org.apache.http.HttpEntityEnclosingRequest) this.request).setEntity(v0_4);
        }
        org.apache.http.client.methods.HttpRequestBase v1_5 = this.request;
        return new com.google.api.client.http.apache.ApacheHttpResponse(v1_5, this.httpClient.execute(v1_5));
    }

Method com.swapcard.apps.android.ui.web.WebViewFragment.initWebView() calling method android.webkit.WebView.setWebViewClient()


    private final void initWebView()
    {
        android.webkit.WebView v0_6 = ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_6, "webView");
        android.webkit.WebView v0_10 = v0_6.getSettings();
        v0_10.setJavaScriptEnabled(1);
        v0_10.setJavaScriptCanOpenWindowsAutomatically(1);
        v0_10.setMixedContentMode(0);
        v0_10.setDomStorageEnabled(1);
        android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView)), 1);
        android.webkit.WebView v0_5 = ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_5, "webView");
        v0_5.setWebChromeClient(((android.webkit.WebChromeClient) new com.swapcard.apps.android.ui.web.WebViewFragment$initWebView$2(this)));
        android.webkit.WebView v0_9 = ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_9, "webView");
        v0_9.setWebViewClient(((android.webkit.WebViewClient) new com.swapcard.apps.android.ui.web.WebViewFragment$initWebView$3(this)));
        return;
    }

Method com.twitter.sdk.android.core.identity.OAuthController.a() calling method android.webkit.WebView.setWebViewClient()


    void a(android.webkit.WebView p3, android.webkit.WebViewClient p4, String p5, android.webkit.WebChromeClient p6)
    {
        android.webkit.WebSettings v0 = p3.getSettings();
        v0.setAllowFileAccess(0);
        v0.setJavaScriptEnabled(0);
        v0.setSaveFormData(0);
        p3.setVerticalScrollBarEnabled(0);
        p3.setHorizontalScrollBarEnabled(0);
        p3.setWebViewClient(p4);
        p3.loadUrl(p5);
        p3.setVisibility(4);
        p3.setWebChromeClient(p6);
        return;
    }

Method com.swapcard.apps.android.ui.web.WebViewFragment.setUrl() calling method android.webkit.WebView.loadUrl()


    public final void setUrl(String p3)
    {
        if ((p3 == null) || (this.getShouldOpenIntent(p3) != 1)) {
            ((android.webkit.WebView) this._$_findCachedViewById(com.swapcard.apps.android.R$id.webView)).loadUrl(p3);
        } else {
            this.openIntent(p3);
            kotlin.Unit v3_1 = this.onExternalHandleListener;
            if (v3_1 != null) {
                v3_1.invoke();
            }
        }
        return;
    }

Method com.swapcard.apps.old.fragments.CGUFragment.setUpWebView() calling method android.webkit.WebView.loadUrl()


    private void setUpWebView(String p4, android.view.View p5)
    {
        android.webkit.WebView v5_2 = ((android.webkit.WebView) p5.findViewById(2131363022));
        v5_2.getSettings().setBuiltInZoomControls(1);
        v5_2.getSettings().setJavaScriptEnabled(1);
        v5_2.setPadding(0, 0, 0, 0);
        v5_2.getSettings().setDomStorageEnabled(1);
        v5_2.setScrollBarStyle(33554432);
        v5_2.setBackgroundColor(0);
        v5_2.loadUrl(p4);
        return;
    }

Method com.twitter.sdk.android.core.identity.OAuthController.a() calling method android.webkit.WebView.loadUrl()


    void a(android.webkit.WebView p3, android.webkit.WebViewClient p4, String p5, android.webkit.WebChromeClient p6)
    {
        android.webkit.WebSettings v0 = p3.getSettings();
        v0.setAllowFileAccess(0);
        v0.setJavaScriptEnabled(0);
        v0.setSaveFormData(0);
        p3.setVerticalScrollBarEnabled(0);
        p3.setHorizontalScrollBarEnabled(0);
        p3.setWebViewClient(p4);
        p3.loadUrl(p5);
        p3.setVisibility(4);
        p3.setWebChromeClient(p6);
        return;
    }

Method com.swapcard.apps.android.ui.web.WebViewFragment$initWebView$3.shouldOverrideUrlLoading() calling method android.webkit.WebView.loadUrl()


    public boolean shouldOverrideUrlLoading(android.webkit.WebView p2, android.webkit.WebResourceRequest p3)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "view");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "request");
        int v2_5 = p3.getUrl().toString();
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_5, "request.url.toString()");
        if (!com.swapcard.apps.android.ui.web.WebViewFragment.access$getShouldOpenIntent$p(this.a, v2_5)) {
            android.webkit.WebView v3_5 = ((android.webkit.WebView) this.a._$_findCachedViewById(com.swapcard.apps.android.R$id.webView));
            if (v3_5 != null) {
                v3_5.loadUrl(v2_5);
            }
            return 0;
        } else {
            com.swapcard.apps.android.ui.web.WebViewFragment.access$openIntent(this.a, v2_5);
            return 1;
        }
    }

Method com.google.android.gms.common.data.DataBufferRef.parseUri() calling method android.net.Uri.parse()


    protected android.net.Uri parseUri(String p4)
    {
        android.net.Uri v4_1 = this.mDataHolder.getString(p4, this.mDataRow, this.zaln);
        if (v4_1 != null) {
            return android.net.Uri.parse(v4_1);
        } else {
            return 0;
        }
    }

Method com.google.android.gms.ads.identifier.zza.run() calling method android.net.Uri.parse()


    public final void run()
    {
        new com.google.android.gms.ads.identifier.zzc();
        String v2_3 = this.zzl;
        RuntimeException v3_7 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v4_1 = v2_3.keySet().iterator();
        while (v4_1.hasNext()) {
            String v5_17 = ((String) v4_1.next());
            v3_7.appendQueryParameter(v5_17, ((String) v2_3.get(v5_17)));
        }
        String v2_2 = v3_7.build().toString();
        try {
            RuntimeException v3_3 = ((java.net.HttpURLConnection) new java.net.URL(v2_2).openConnection());
        } catch (RuntimeException v3_5) {
            String v4_6 = v3_5.getMessage();
            StringBuilder v6_5 = new StringBuilder(((String.valueOf(v2_2).length() + 32) + String.valueOf(v4_6).length()));
            String v5_11 = "Error while parsing ping URL: ";
            v6_5.append(v5_11);
            v6_5.append(v2_2);
            v6_5.append(". ");
            v6_5.append(v4_6);
            android.util.Log.w("HttpUrlPinger", v6_5.toString(), v3_5);
            return;
        } catch (RuntimeException v3_5) {
            v4_6 = v3_5.getMessage();
            v6_5 = new StringBuilder(((String.valueOf(v2_2).length() + 27) + String.valueOf(v4_6).length()));
            v5_11 = "Error while pinging URL: ";
            v6_5.append(v5_11);
            v6_5.append(v2_2);
            v6_5.append(". ");
            v6_5.append(v4_6);
            android.util.Log.w("HttpUrlPinger", v6_5.toString(), v3_5);
            return;
        } catch (RuntimeException v3_5) {
        }
        String v4_2 = v3_3.getResponseCode();
        if ((v4_2 < 200) || (v4_2 >= 300)) {
            StringBuilder v6_1 = new StringBuilder((String.valueOf(v2_2).length() + 65));
            v6_1.append("Received non-success response code ");
            v6_1.append(v4_2);
            v6_1.append(" from pinging URL: ");
            v6_1.append(v2_2);
            android.util.Log.w("HttpUrlPinger", v6_1.toString());
        }
        v3_3.disconnect();
        return;
    }

Method com.caverock.androidsvg.SVGImageView.init() calling method android.net.Uri.parse()


    private void init(android.util.AttributeSet p4, int p5)
    {
        android.content.res.TypedArray v4_1 = this.getContext().getTheme().obtainStyledAttributes(p4, com.caverock.androidsvg.R$styleable.SVGImageView, p5, 0);
        try {
            boolean v0_1 = v4_1.getResourceId(0, -1);
        } catch (String v5_2) {
            v4_1.recycle();
            throw v5_2;
        }
        if (v0_1 == -1) {
            String v5_1 = v4_1.getString(0);
            if (v5_1 != null) {
                if (!this.internalSetImageURI(android.net.Uri.parse(v5_1), 0)) {
                    this.setImageAsset(v5_1);
                } else {
                    v4_1.recycle();
                    return;
                }
            }
            v4_1.recycle();
            return;
        } else {
            this.setImageResource(v0_1);
            v4_1.recycle();
            return;
        }
    }

Method androidx.core.net.UriKt.toUri() calling method android.net.Uri.parse()


    public static final android.net.Uri toUri(String p1)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        android.net.Uri v1_1 = android.net.Uri.parse(p1);
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v1_1, "Uri.parse(this)");
        return v1_1;
    }

Method androidx.core.app.RemoteInput.getDataResultsFromIntent() calling method android.net.Uri.parse()


    public static java.util.Map getDataResultsFromIntent(android.content.Intent p6, String p7)
    {
        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");
                return 0;
            } else {
                boolean v6_1 = androidx.core.app.RemoteInput.getClipDataIntentFromIntent(p6);
                if (v6_1) {
                    int v0_2 = new java.util.HashMap();
                    java.util.Iterator v1_3 = v6_1.getExtras().keySet().iterator();
                    while (v1_3.hasNext()) {
                        android.net.Uri v3_2 = ((String) v1_3.next());
                        if (v3_2.startsWith("android.remoteinput.dataTypeResultsData")) {
                            String v4_3 = v3_2.substring(39);
                            if (!v4_3.isEmpty()) {
                                android.net.Uri v3_4 = v6_1.getBundleExtra(v3_2).getString(p7);
                                if ((v3_4 != null) && (!v3_4.isEmpty())) {
                                    v0_2.put(v4_3, android.net.Uri.parse(v3_4));
                                }
                            }
                        }
                    }
                    if (v0_2.isEmpty()) {
                        v0_2 = 0;
                    }
                    return v0_2;
                } else {
                    return 0;
                }
            }
        } else {
            return android.app.RemoteInput.getDataResultsFromIntent(p6, p7);
        }
    }

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 v0_0 = this.mDescription;
        if (v0_0 == null) {
            android.support.v4.media.MediaDescriptionCompat v0_4 = this.getString("android.media.metadata.MEDIA_ID");
            boolean v1_4 = new CharSequence[3];
            String v2_10 = this.getText("android.media.metadata.DISPLAY_TITLE");
            if (android.text.TextUtils.isEmpty(v2_10)) {
                String v2_1 = 0;
                String v3_2 = 0;
                while (v2_1 < v1_4.length) {
                    android.support.v4.media.MediaDescriptionCompat$Builder v7_1 = android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER;
                    if (v3_2 >= v7_1.length) {
                        break;
                    }
                    android.net.Uri v8_1 = (v3_2 + 1);
                    String v3_4 = this.getText(v7_1[v3_2]);
                    if (!android.text.TextUtils.isEmpty(v3_4)) {
                        android.support.v4.media.MediaDescriptionCompat$Builder v7_3 = (v2_1 + 1);
                        v1_4[v2_1] = v3_4;
                        v2_1 = v7_3;
                    }
                    v3_2 = v8_1;
                }
            } else {
                v1_4[0] = v2_10;
                v1_4[1] = this.getText("android.media.metadata.DISPLAY_SUBTITLE");
                v1_4[2] = this.getText("android.media.metadata.DISPLAY_DESCRIPTION");
            }
            String v2_6 = 0;
            while(true) {
                String v3_6;
                String v3_5 = android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER;
                android.net.Uri v8_2 = 0;
                if (v2_6 >= v3_5.length) {
                    break;
                }
                v3_6 = this.getBitmap(v3_5[v2_6]);
                if (v3_6 == null) {
                    v2_6++;
                }
                String v2_7 = 0;
                while(true) {
                    String v2_8;
                    android.support.v4.media.MediaDescriptionCompat$Builder v7_5 = android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER;
                    if (v2_7 >= v7_5.length) {
                        v2_8 = 0;
                    } else {
                        android.support.v4.media.MediaDescriptionCompat$Builder v7_7 = this.getString(v7_5[v2_7]);
                        if (!android.text.TextUtils.isEmpty(v7_7)) {
                            break;
                        }
                        v2_7++;
                    }
                    android.support.v4.media.MediaDescriptionCompat$Builder v7_9 = this.getString("android.media.metadata.MEDIA_URI");
                    if (!android.text.TextUtils.isEmpty(v7_9)) {
                        v8_2 = android.net.Uri.parse(v7_9);
                    }
                    android.support.v4.media.MediaDescriptionCompat$Builder v7_11 = new android.support.v4.media.MediaDescriptionCompat$Builder();
                    v7_11.setMediaId(v0_4);
                    v7_11.setTitle(v1_4[0]);
                    v7_11.setSubtitle(v1_4[1]);
                    v7_11.setDescription(v1_4[2]);
                    v7_11.setIconBitmap(v3_6);
                    v7_11.setIconUri(v2_8);
                    v7_11.setMediaUri(v8_2);
                    android.support.v4.media.MediaDescriptionCompat v0_9 = new android.os.Bundle();
                    if (this.b.containsKey("android.media.metadata.BT_FOLDER_TYPE")) {
                        v0_9.putLong("android.media.extra.BT_FOLDER_TYPE", this.getLong("android.media.metadata.BT_FOLDER_TYPE"));
                    }
                    if (this.b.containsKey("android.media.metadata.DOWNLOAD_STATUS")) {
                        v0_9.putLong("android.media.extra.DOWNLOAD_STATUS", this.getLong("android.media.metadata.DOWNLOAD_STATUS"));
                    }
                    if (!v0_9.isEmpty()) {
                        v7_11.setExtras(v0_9);
                    }
                    this.mDescription = v7_11.build();
                    return this.mDescription;
                }
                v2_8 = android.net.Uri.parse(v7_7);
            }
            v3_6 = 0;
        } else {
            return v0_0;
        }
    }

Method org.apache.http.impl.client.DecompressingHttpClient.execute() calling method org.apache.http.client.HttpClient.execute()


    public org.apache.http.HttpResponse execute(org.apache.http.HttpHost p2, org.apache.http.HttpRequest p3, org.apache.http.protocol.HttpContext p4)
    {
        try {
            if (p4 == null) {
                p4 = new org.apache.http.protocol.BasicHttpContext();
            }
        } catch (org.apache.http.HttpEntity v2_5) {
            throw new org.apache.http.client.ClientProtocolException(v2_5);
        }
        String v0_3;
        if (!(p3 instanceof org.apache.http.HttpEntityEnclosingRequest)) {
            v0_3 = new org.apache.http.impl.client.RequestWrapper(p3);
        } else {
            v0_3 = new org.apache.http.impl.client.EntityEnclosingRequestWrapper(((org.apache.http.HttpEntityEnclosingRequest) p3));
        }
        this.acceptEncodingInterceptor.process(v0_3, p4);
        org.apache.http.HttpEntity v2_1 = this.backend.execute(p2, v0_3, p4);
        try {
            this.contentEncodingInterceptor.process(v2_1, p4);
        } catch (String v3_9) {
            org.apache.http.util.EntityUtils.consume(v2_1.getEntity());
            throw v3_9;
        }
        if (Boolean.TRUE.equals(p4.getAttribute("http.client.response.uncompressed"))) {
            v2_1.removeHeaders("Content-Length");
            v2_1.removeHeaders("Content-Encoding");
            v2_1.removeHeaders("Content-MD5");
        }
        return v2_1;
    }