Potentially Call to dangerous WebView settings API

Description

List of all WebView methods used in the application.

Recommendation

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

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

Technical details

Method com.facebook.internal.NativeProtocol.buildPlatformProviderVersionURI() calling method android.net.Uri.parse()


    private static android.net.Uri buildPlatformProviderVersionURI(com.facebook.internal.NativeProtocol$NativeAppInfo p2)
    {
        StringBuilder v0_1 = new StringBuilder();
        v0_1.append("content://");
        v0_1.append(p2.getPackage());
        v0_1.append(".provider.PlatformProvider/versions");
        return android.net.Uri.parse(v0_1.toString());
    }

Method com.facebook.internal.UrlRedirectCache.getRedirectedUri() calling method android.net.Uri.parse()

Couldn't retrieve source code

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.zalm);
        if (v4_1 != null) {
            return android.net.Uri.parse(v4_1);
        } else {
            return 0;
        }
    }

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 bolts.WebViewAppLinkResolver.tryCreateUrl() calling method android.net.Uri.parse()


    private static android.net.Uri tryCreateUrl(String p0)
    {
        if (p0 != null) {
            return android.net.Uri.parse(p0);
        } else {
            return 0;
        }
    }

Method com.facebook.internal.ImageResponseCache.interceptAndCacheImageStream() calling method android.net.Uri.parse()

Couldn't retrieve source code

Method bolts.WebViewAppLinkResolver$2$1.runJavaScript() calling method android.webkit.WebView.loadUrl()


    private void runJavaScript(android.webkit.WebView p2)
    {
        if (!this.loaded) {
            this.loaded = 1;
            p2.loadUrl("javascript:boltsWebViewAppLinkResolverResult.setValue((function() {  var metaTags = document.getElementsByTagName(\'meta\');  var results = [];  for (var i = 0; i < metaTags.length; i++) {    var property = metaTags[i].getAttribute(\'property\');    if (property && property.substring(0, \'al:\'.length) === \'al:\') {      var tag = { \"property\": metaTags[i].getAttribute(\'property\') };      if (metaTags[i].hasAttribute(\'content\')) {        tag[\'content\'] = metaTags[i].getAttribute(\'content\');      }      results.push(tag);    }  }  return JSON.stringify(results);})())");
        }
        return;
    }

Method com.facebook.internal.WebDialog.setUpWebView() calling method android.webkit.WebView.loadUrl()


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

Method com.facebook.internal.FacebookWebFallbackDialog.cancel() calling method android.webkit.WebView.loadUrl()


    public void cancel()
    {
        android.os.Handler v0_0 = this.getWebView();
        if ((this.isPageFinished()) && ((!this.isListenerCalled()) && ((v0_0 != null) && (v0_0.isShown())))) {
            if (!this.waitingForDialogToClose) {
                this.waitingForDialogToClose = 1;
                com.facebook.internal.FacebookWebFallbackDialog$1 v1_4 = new StringBuilder();
                v1_4.append("javascript:");
                v1_4.append("(function() {  var event = document.createEvent(\'Event\');  event.initEvent(\'fbPlatformDialogMustClose\',true,true);  document.dispatchEvent(event);})();");
                v0_0.loadUrl(v1_4.toString());
                new android.os.Handler(android.os.Looper.getMainLooper()).postDelayed(new com.facebook.internal.FacebookWebFallbackDialog$1(this), 1500);
                return;
            } else {
                return;
            }
        } else {
            super.cancel();
            return;
        }
    }

Method bolts.AppLinks.getTargetUrlFromInboundIntent() calling method android.net.Uri.parse()


    public static android.net.Uri getTargetUrlFromInboundIntent(android.content.Context p3, android.content.Intent p4)
    {
        String v0_0 = bolts.AppLinks.getAppLinkData(p4);
        if (v0_0 != null) {
            String v0_1 = v0_0.getString("target_url");
            if (v0_1 != null) {
                bolts.MeasurementEvent.sendBroadcastEvent(p3, "al_nav_in", p4, 0);
                return android.net.Uri.parse(v0_1);
            }
        }
        return 0;
    }

Method com.facebook.appevents.AppEventsLogger.augmentWebView() calling method android.webkit.WebView.addJavascriptInterface()


    public static void augmentWebView(android.webkit.WebView p5, android.content.Context p6)
    {
        String v1_1;
        com.facebook.appevents.FacebookSDKJSInterface v0_6 = android.os.Build$VERSION.RELEASE.split("\\.");
        int v2 = 0;
        if (v0_6.length <= 0) {
            v1_1 = 0;
        } else {
            v1_1 = Integer.parseInt(v0_6[0]);
        }
        if (v0_6.length > 1) {
            v2 = Integer.parseInt(v0_6[1]);
        }
        if ((android.os.Build$VERSION.SDK_INT >= 17) && ((v1_1 >= 4) && ((v1_1 != 4) || (v2 > 1)))) {
            com.facebook.appevents.FacebookSDKJSInterface v0_5 = new com.facebook.appevents.FacebookSDKJSInterface(p6);
            String v6_2 = new StringBuilder();
            v6_2.append("fbmq_");
            v6_2.append(com.facebook.FacebookSdk.getApplicationId());
            p5.addJavascriptInterface(v0_5, v6_2.toString());
            return;
        } else {
            com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.DEVELOPER_ERRORS, com.facebook.appevents.AppEventsLogger.TAG, "augmentWebView is only available for Android SDK version >= 17 on devices running Android >= 4.2");
            return;
        }
    }

Method bolts.WebViewAppLinkResolver$2.then() calling method android.webkit.WebView.addJavascriptInterface()


    public bolts.Task then(bolts.Task p7)
    {
        String v1_1;
        bolts.Task v7_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v7_1), "boltsWebViewAppLinkResolverResult");
        if (this.val$contentType.get() == null) {
            v1_1 = 0;
        } else {
            v1_1 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v1_1, 0, 0);
        return v7_1.getTask();
    }

Method com.facebook.internal.WebDialog.setUpWebView() calling method android.webkit.WebView.setWebViewClient()


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

Method bolts.WebViewAppLinkResolver$2.then() calling method android.webkit.WebView.setWebViewClient()


    public bolts.Task then(bolts.Task p7)
    {
        String v1_1;
        bolts.Task v7_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v7_1), "boltsWebViewAppLinkResolverResult");
        if (this.val$contentType.get() == null) {
            v1_1 = 0;
        } else {
            v1_1 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v1_1, 0, 0);
        return v7_1.getTask();
    }

Method android.support.customtabs.CustomTabsClient.getPackageName() calling method android.net.Uri.parse()


    public static String getPackageName(android.content.Context p4, java.util.List p5, boolean p6)
    {
        String v0_2;
        int v4_1 = p4.getPackageManager();
        if (p5 != null) {
            v0_2 = p5;
        } else {
            v0_2 = new java.util.ArrayList();
        }
        android.content.pm.ResolveInfo v1_0 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("http://"));
        if (p6 == null) {
            String v6_1 = v4_1.resolveActivity(v1_0, 0);
            if (v6_1 != null) {
                String v6_3 = v6_1.activityInfo.packageName;
                android.content.pm.ResolveInfo v1_2 = new java.util.ArrayList((v0_2.size() + 1));
                v1_2.add(v6_3);
                if (p5 != null) {
                    v1_2.addAll(p5);
                }
                v0_2 = v1_2;
            }
        }
        android.content.Intent v5_2 = new android.content.Intent("android.support.customtabs.action.CustomTabsService");
        String v6_5 = v0_2.iterator();
        while (v6_5.hasNext()) {
            String v0_6 = ((String) v6_5.next());
            v5_2.setPackage(v0_6);
            if (v4_1.resolveService(v5_2, 0) != null) {
                return v0_6;
            }
        }
        return 0;
    }

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


    static java.util.Map getDataResultsFromIntent(android.content.Intent p6, String p7)
    {
        boolean v6_1 = android.support.v4.app.RemoteInputCompatApi20.getClipDataIntentFromIntent(p6);
        java.util.HashMap v0 = 0;
        if (v6_1) {
            java.util.HashMap v1_1 = new java.util.HashMap();
            java.util.Iterator v2_0 = v6_1.getExtras().keySet().iterator();
            while (v2_0.hasNext()) {
                android.net.Uri v3_2 = ((String) v2_0.next());
                if (v3_2.startsWith("android.remoteinput.dataTypeResultsData")) {
                    String v4_3 = v3_2.substring(39);
                    if ((v4_3 != null) && (!v4_3.isEmpty())) {
                        android.net.Uri v3_4 = v6_1.getBundleExtra(v3_2).getString(p7);
                        if ((v3_4 != null) && (!v3_4.isEmpty())) {
                            v1_1.put(v4_3, android.net.Uri.parse(v3_4));
                        }
                    }
                }
            }
            if (!v1_1.isEmpty()) {
                v0 = v1_1;
            }
            return v0;
        } else {
            return 0;
        }
    }

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


    static java.util.Map getDataResultsFromIntent(android.content.Intent p6, String p7)
    {
        boolean v6_1 = android.support.v4.app.RemoteInputCompatJellybean.getClipDataIntentFromIntent(p6);
        java.util.HashMap v0 = 0;
        if (v6_1) {
            java.util.HashMap v1_1 = new java.util.HashMap();
            java.util.Iterator v2_0 = v6_1.getExtras().keySet().iterator();
            while (v2_0.hasNext()) {
                android.net.Uri v3_2 = ((String) v2_0.next());
                if (v3_2.startsWith("android.remoteinput.dataTypeResultsData")) {
                    String v4_3 = v3_2.substring(39);
                    if ((v4_3 != null) && (!v4_3.isEmpty())) {
                        android.net.Uri v3_4 = v6_1.getBundleExtra(v3_2).getString(p7);
                        if ((v3_4 != null) && (!v3_4.isEmpty())) {
                            v1_1.put(v4_3, android.net.Uri.parse(v3_4));
                        }
                    }
                }
            }
            if (!v1_1.isEmpty()) {
                v0 = v1_1;
            }
            return v0;
        } else {
            return 0;
        }
    }

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.mBundle.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.mBundle.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 bolts.AppLinkNavigation.navigateInBackground() calling method android.net.Uri.parse()


    public static bolts.Task navigateInBackground(android.content.Context p0, String p1, bolts.AppLinkResolver p2)
    {
        return bolts.AppLinkNavigation.navigateInBackground(p0, android.net.Uri.parse(p1), p2);
    }

Method bolts.AppLinkNavigation.navigateInBackground() calling method android.net.Uri.parse()


    public static bolts.Task navigateInBackground(android.content.Context p0, java.net.URL p1, bolts.AppLinkResolver p2)
    {
        return bolts.AppLinkNavigation.navigateInBackground(p0, android.net.Uri.parse(p1.toString()), p2);
    }

Method bolts.AppLinks.getTargetUrl() calling method android.net.Uri.parse()


    public static android.net.Uri getTargetUrl(android.content.Intent p2)
    {
        String v0_0 = bolts.AppLinks.getAppLinkData(p2);
        if (v0_0 != null) {
            String v0_1 = v0_0.getString("target_url");
            if (v0_1 != null) {
                return android.net.Uri.parse(v0_1);
            }
        }
        return p2.getData();
    }

Method bolts.MeasurementEvent.getApplinkLogData() calling method android.net.Uri.parse()


    private static android.os.Bundle getApplinkLogData(android.content.Context p7, String p8, android.os.Bundle p9, android.content.Intent p10)
    {
        android.os.Bundle v0_1 = new android.os.Bundle();
        String v7_13 = p10.resolveActivity(p7.getPackageManager());
        if (v7_13 != null) {
            v0_1.putString("class", v7_13.getShortClassName());
        }
        if (!"al_nav_out".equals(p8)) {
            if ("al_nav_in".equals(p8)) {
                if (p10.getData() != null) {
                    v0_1.putString("inputURL", p10.getData().toString());
                }
                if (p10.getScheme() != null) {
                    v0_1.putString("inputURLScheme", p10.getScheme());
                }
            }
        } else {
            if (v7_13 != null) {
                v0_1.putString("package", v7_13.getPackageName());
            }
            if (p10.getData() != null) {
                v0_1.putString("outputURL", p10.getData().toString());
            }
            if (p10.getScheme() != null) {
                v0_1.putString("outputURLScheme", p10.getScheme());
            }
        }
        String v7_17 = p9.keySet().iterator();
        while (v7_17.hasNext()) {
            String v8_7 = ((String) v7_17.next());
            String v10_1 = p9.get(v8_7);
            if (!(v10_1 instanceof android.os.Bundle)) {
                String v10_2 = bolts.MeasurementEvent.objectToJSONString(v10_1);
                if (!v8_7.equals("target_url")) {
                    v0_1.putString(v8_7, v10_2);
                } else {
                    String v8_8 = android.net.Uri.parse(v10_2);
                    v0_1.putString("targetURL", v8_8.toString());
                    v0_1.putString("targetURLHost", v8_8.getHost());
                }
            } else {
                String v10_5 = ((android.os.Bundle) v10_1);
                String v1_8 = v10_5.keySet().iterator();
                while (v1_8.hasNext()) {
                    String v3_6 = ((String) v1_8.next());
                    String v4_1 = bolts.MeasurementEvent.objectToJSONString(v10_5.get(v3_6));
                    if (v8_7.equals("referer_app_link")) {
                        if (!v3_6.equalsIgnoreCase("url")) {
                            if (!v3_6.equalsIgnoreCase("app_name")) {
                                if (v3_6.equalsIgnoreCase("package")) {
                                    v0_1.putString("sourceApplication", v4_1);
                                }
                            } else {
                                v0_1.putString("refererAppName", v4_1);
                            }
                        } else {
                            v0_1.putString("refererURL", v4_1);
                        }
                    }
                    boolean v5_8 = new StringBuilder();
                    v5_8.append(v8_7);
                    v5_8.append("/");
                    v5_8.append(v3_6);
                    v0_1.putString(v5_8.toString(), v4_1);
                }
            }
        }
        return v0_1;
    }

Method com.facebook.GraphRequest.appendParametersToBaseUrl() calling method android.net.Uri.parse()


    private String appendParametersToBaseUrl(String p4, Boolean p5)
    {
        if ((p5.booleanValue()) || (this.httpMethod != com.facebook.HttpMethod.POST)) {
            IllegalArgumentException v4_5 = android.net.Uri.parse(p4).buildUpon();
            String v5_4 = this.parameters.keySet().iterator();
            while (v5_4.hasNext()) {
                Object[] v0_2 = ((String) v5_4.next());
                String v1_1 = this.parameters.get(v0_2);
                if (v1_1 == null) {
                    v1_1 = "";
                }
                if (!com.facebook.GraphRequest.isSupportedParameterType(v1_1)) {
                    if (this.httpMethod == com.facebook.HttpMethod.GET) {
                        Object[] v0_5 = new Object[1];
                        v0_5[0] = v1_1.getClass().getSimpleName();
                        throw new IllegalArgumentException(String.format(java.util.Locale.US, "Unsupported parameter type for GET request: %s", v0_5));
                    }
                } else {
                    v4_5.appendQueryParameter(v0_2, com.facebook.GraphRequest.parameterToString(v1_1).toString());
                }
            }
            return v4_5.toString();
        } else {
            return p4;
        }
    }

Method com.facebook.GraphRequest.getRelativeUrlForBatchedRequest() calling method android.net.Uri.parse()


    final String getRelativeUrlForBatchedRequest()
    {
        if (this.overriddenURL != null) {
            throw new com.facebook.FacebookException("Can\'t override URL for a batch request");
        } else {
            String v1_6 = new Object[2];
            v1_6[0] = com.facebook.internal.ServerProtocol.getGraphUrlBase();
            v1_6[1] = this.getGraphPathWithVersion();
            String v1_0 = String.format("%s/%s", v1_6);
            this.addCommonParameters();
            String v1_2 = android.net.Uri.parse(this.appendParametersToBaseUrl(v1_0, Boolean.valueOf(1)));
            com.facebook.FacebookException v0_2 = new Object[2];
            v0_2[0] = v1_2.getPath();
            v0_2[1] = v1_2.getQuery();
            return String.format("%s?%s", v0_2);
        }
    }

Method com.facebook.Profile.<init>() calling method android.net.Uri.parse()


    private Profile(android.os.Parcel p2)
    {
        android.net.Uri v2_2;
        this.id = p2.readString();
        this.firstName = p2.readString();
        this.middleName = p2.readString();
        this.lastName = p2.readString();
        this.name = p2.readString();
        android.net.Uri v2_1 = p2.readString();
        if (v2_1 != null) {
            v2_2 = android.net.Uri.parse(v2_1);
        } else {
            v2_2 = 0;
        }
        this.linkUri = v2_2;
        return;
    }

Method com.facebook.Profile.<init>() calling method android.net.Uri.parse()


    Profile(org.json.JSONObject p3)
    {
        android.net.Uri v0 = 0;
        this.id = p3.optString("id", 0);
        this.firstName = p3.optString("first_name", 0);
        this.middleName = p3.optString("middle_name", 0);
        this.lastName = p3.optString("last_name", 0);
        this.name = p3.optString("name", 0);
        String v3_1 = p3.optString("link_uri", 0);
        if (v3_1 != null) {
            v0 = android.net.Uri.parse(v3_1);
        }
        this.linkUri = v0;
        return;
    }

Method com.facebook.applinks.AppLinkData.createFromAlApplinkData() calling method android.net.Uri.parse()


    public static com.facebook.applinks.AppLinkData createFromAlApplinkData(android.content.Intent p4)
    {
        if (p4 != null) {
            android.os.Bundle v2_1 = p4.getBundleExtra("al_applink_data");
            if (v2_1 != null) {
                com.facebook.applinks.AppLinkData v3_1 = new com.facebook.applinks.AppLinkData();
                v3_1.targetUri = p4.getData();
                if (v3_1.targetUri == null) {
                    String v4_4 = v2_1.getString("target_url");
                    if (v4_4 != null) {
                        v3_1.targetUri = android.net.Uri.parse(v4_4);
                    }
                }
                v3_1.argumentBundle = v2_1;
                v3_1.arguments = 0;
                String v4_7 = v2_1.getBundle("referer_data");
                if (v4_7 != null) {
                    v3_1.ref = v4_7.getString("fb_ref");
                }
                String v4_10 = v2_1.getBundle("extras");
                if (v4_10 != null) {
                    String v4_11 = v4_10.getString("deeplink_context");
                    if (v4_11 != null) {
                        try {
                            String v1_4 = new org.json.JSONObject(v4_11);
                        } catch (String v4_13) {
                            com.facebook.internal.Utility.logd(com.facebook.applinks.AppLinkData.TAG, "Unable to parse deeplink_context JSON", v4_13);
                        }
                        if (v1_4.has("promo_code")) {
                            v3_1.promotionCode = v1_4.getString("promo_code");
                        }
                    }
                }
                return v3_1;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.applinks.AppLinkData.createFromJson() calling method android.net.Uri.parse()


    private static com.facebook.applinks.AppLinkData createFromJson(String p12)
    {
        if (p12 != null) {
            try {
                boolean v9_1 = new org.json.JSONObject(p12);
                com.facebook.applinks.AppLinkData v12_2 = v9_1.getString("version");
            } catch (com.facebook.applinks.AppLinkData v12_7) {
                com.facebook.internal.Utility.logd(com.facebook.applinks.AppLinkData.TAG, "Unable to parse AppLink JSON", v12_7);
                return 0;
            } catch (com.facebook.applinks.AppLinkData v12_6) {
                com.facebook.internal.Utility.logd(com.facebook.applinks.AppLinkData.TAG, "Unable to parse AppLink JSON", v12_6);
                return 0;
            }
            if ((!v9_1.getJSONObject("bridge_args").getString("method").equals("applink")) || (!v12_2.equals("2"))) {
                return 0;
            } else {
                com.facebook.applinks.AppLinkData v12_5 = new com.facebook.applinks.AppLinkData();
                v12_5.arguments = v9_1.getJSONObject("method_args");
                if (!v12_5.arguments.has("ref")) {
                    if (v12_5.arguments.has("referer_data")) {
                        org.json.JSONObject v5_0 = v12_5.arguments.getJSONObject("referer_data");
                        if (v5_0.has("fb_ref")) {
                            v12_5.ref = v5_0.getString("fb_ref");
                        }
                    }
                } else {
                    v12_5.ref = v12_5.arguments.getString("ref");
                }
                if (v12_5.arguments.has("target_url")) {
                    v12_5.targetUri = android.net.Uri.parse(v12_5.arguments.getString("target_url"));
                }
                if (v12_5.arguments.has("extras")) {
                    boolean v2_1 = v12_5.arguments.getJSONObject("extras");
                    if (v2_1.has("deeplink_context")) {
                        org.json.JSONObject v1_1 = v2_1.getJSONObject("deeplink_context");
                        if (v1_1.has("promo_code")) {
                            v12_5.promotionCode = v1_1.getString("promo_code");
                        }
                    }
                }
                v12_5.argumentBundle = com.facebook.applinks.AppLinkData.toBundle(v12_5.arguments);
                return v12_5;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.internal.AttributionIdentifiers.getAttributionIdentifiers() calling method android.net.Uri.parse()


    public static com.facebook.internal.AttributionIdentifiers getAttributionIdentifiers(android.content.Context p12)
    {
        if (android.os.Looper.myLooper() == android.os.Looper.getMainLooper()) {
            android.util.Log.e(com.facebook.internal.AttributionIdentifiers.TAG, "getAttributionIdentifiers should not be called from the main thread");
        }
        if (com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers != null) {
            boolean v5_0 = com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers;
            if ((System.currentTimeMillis() - v5_0.fetchTime) < 3600000) {
                return v5_0;
            }
        }
        String v3_4 = com.facebook.internal.AttributionIdentifiers.getAndroidId(p12);
        android.database.Cursor v4_0 = 0;
        try {
            boolean v5_6;
            int v6_4;
            if (p12.getPackageManager().resolveContentProvider("com.facebook.katana.provider.AttributionIdProvider", 0) == null) {
                if (p12.getPackageManager().resolveContentProvider("com.facebook.wakizashi.provider.AttributionIdProvider", 0) == null) {
                    v6_4 = 0;
                    boolean v5_8 = com.facebook.internal.AttributionIdentifiers.getInstallerPackageName(p12);
                    if (v5_8) {
                        v3_4.androidInstallerPackage = v5_8;
                    }
                    if (v6_4 != 0) {
                        com.facebook.internal.AttributionIdentifiers v12_6 = p12.getContentResolver().query(v6_4, new String[] {"aid", "androidid", "limit_tracking"}), 0, 0, 0);
                        try {
                            if (v12_6 != null) {
                                if (v12_6.moveToFirst()) {
                                    String v2_3 = v12_6.getColumnIndex("aid");
                                    String v1_2 = v12_6.getColumnIndex("androidid");
                                    boolean v0_2 = v12_6.getColumnIndex("limit_tracking");
                                    v3_4.attributionId = v12_6.getString(v2_3);
                                    if ((v1_2 > null) && ((v0_2) && (v3_4.getAndroidAdvertiserId() == null))) {
                                        v3_4.androidAdvertiserId = v12_6.getString(v1_2);
                                        v3_4.limitTracking = Boolean.parseBoolean(v12_6.getString(v0_2));
                                    }
                                    if (v12_6 != null) {
                                        v12_6.close();
                                    }
                                    return com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v3_4);
                                } else {
                                }
                            }
                        } catch (boolean v0_7) {
                            v4_0 = v12_6;
                            com.facebook.internal.AttributionIdentifiers v12_5 = v0_7;
                        } catch (boolean v0_6) {
                            boolean v0_1 = v12_6;
                            com.facebook.internal.AttributionIdentifiers v12_2 = v0_6;
                            try {
                                String v2_1 = new StringBuilder();
                                v2_1.append("Caught unexpected exception in getAttributionId(): ");
                                v2_1.append(v12_2.toString());
                                com.facebook.internal.Utility.logd(com.facebook.internal.AttributionIdentifiers.TAG, v2_1.toString());
                            } catch (com.facebook.internal.AttributionIdentifiers v12_5) {
                                v4_0 = v0_1;
                            }
                            if (v0_1) {
                                v0_1.close();
                            }
                            return 0;
                        }
                        boolean v0_5 = com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v3_4);
                        if (v12_6 != null) {
                            v12_6.close();
                        }
                        return v0_5;
                    } else {
                        return com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v3_4);
                    }
                } else {
                    v5_6 = android.net.Uri.parse("content://com.facebook.wakizashi.provider.AttributionIdProvider");
                    v6_4 = v5_6;
                }
            } else {
                v5_6 = android.net.Uri.parse("content://com.facebook.katana.provider.AttributionIdProvider");
            }
        } catch (com.facebook.internal.AttributionIdentifiers v12_5) {
        } catch (com.facebook.internal.AttributionIdentifiers v12_2) {
            v0_1 = 0;
        }
        if (v4_0 != null) {
            v4_0.close();
        }
        throw v12_5;
    }

Method com.facebook.internal.AttributionIdentifiers.getAttributionIdentifiers() calling method android.net.Uri.parse()


    public static com.facebook.internal.AttributionIdentifiers getAttributionIdentifiers(android.content.Context p12)
    {
        if (android.os.Looper.myLooper() == android.os.Looper.getMainLooper()) {
            android.util.Log.e(com.facebook.internal.AttributionIdentifiers.TAG, "getAttributionIdentifiers should not be called from the main thread");
        }
        if (com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers != null) {
            boolean v5_0 = com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers;
            if ((System.currentTimeMillis() - v5_0.fetchTime) < 3600000) {
                return v5_0;
            }
        }
        String v3_4 = com.facebook.internal.AttributionIdentifiers.getAndroidId(p12);
        android.database.Cursor v4_0 = 0;
        try {
            int v6_4;
            boolean v5_6;
            if (p12.getPackageManager().resolveContentProvider("com.facebook.katana.provider.AttributionIdProvider", 0) == null) {
                if (p12.getPackageManager().resolveContentProvider("com.facebook.wakizashi.provider.AttributionIdProvider", 0) == null) {
                    v6_4 = 0;
                    boolean v5_8 = com.facebook.internal.AttributionIdentifiers.getInstallerPackageName(p12);
                    if (v5_8) {
                        v3_4.androidInstallerPackage = v5_8;
                    }
                    if (v6_4 != 0) {
                        com.facebook.internal.AttributionIdentifiers v12_6 = p12.getContentResolver().query(v6_4, new String[] {"aid", "androidid", "limit_tracking"}), 0, 0, 0);
                        try {
                            if (v12_6 != null) {
                                if (v12_6.moveToFirst()) {
                                    String v2_3 = v12_6.getColumnIndex("aid");
                                    String v1_2 = v12_6.getColumnIndex("androidid");
                                    boolean v0_2 = v12_6.getColumnIndex("limit_tracking");
                                    v3_4.attributionId = v12_6.getString(v2_3);
                                    if ((v1_2 > null) && ((v0_2) && (v3_4.getAndroidAdvertiserId() == null))) {
                                        v3_4.androidAdvertiserId = v12_6.getString(v1_2);
                                        v3_4.limitTracking = Boolean.parseBoolean(v12_6.getString(v0_2));
                                    }
                                    if (v12_6 != null) {
                                        v12_6.close();
                                    }
                                    return com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v3_4);
                                } else {
                                }
                            }
                        } catch (boolean v0_7) {
                            v4_0 = v12_6;
                            com.facebook.internal.AttributionIdentifiers v12_5 = v0_7;
                        } catch (boolean v0_6) {
                            boolean v0_1 = v12_6;
                            com.facebook.internal.AttributionIdentifiers v12_2 = v0_6;
                            try {
                                String v2_1 = new StringBuilder();
                                v2_1.append("Caught unexpected exception in getAttributionId(): ");
                                v2_1.append(v12_2.toString());
                                com.facebook.internal.Utility.logd(com.facebook.internal.AttributionIdentifiers.TAG, v2_1.toString());
                            } catch (com.facebook.internal.AttributionIdentifiers v12_5) {
                                v4_0 = v0_1;
                            }
                            if (v0_1) {
                                v0_1.close();
                            }
                            return 0;
                        }
                        boolean v0_5 = com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v3_4);
                        if (v12_6 != null) {
                            v12_6.close();
                        }
                        return v0_5;
                    } else {
                        return com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v3_4);
                    }
                } else {
                    v5_6 = android.net.Uri.parse("content://com.facebook.wakizashi.provider.AttributionIdProvider");
                    v6_4 = v5_6;
                }
            } else {
                v5_6 = android.net.Uri.parse("content://com.facebook.katana.provider.AttributionIdProvider");
            }
        } catch (com.facebook.internal.AttributionIdentifiers v12_5) {
        } catch (com.facebook.internal.AttributionIdentifiers v12_2) {
            v0_1 = 0;
        }
        if (v4_0 != null) {
            v4_0.close();
        }
        throw v12_5;
    }

Method com.facebook.internal.FetchedAppSettings$DialogFeatureConfig.parseDialogConfig() calling method android.net.Uri.parse()


    public static com.facebook.internal.FetchedAppSettings$DialogFeatureConfig parseDialogConfig(org.json.JSONObject p5)
    {
        String v0_2 = p5.optString("name");
        android.net.Uri v2 = 0;
        if (!com.facebook.internal.Utility.isNullOrEmpty(v0_2)) {
            String v0_3 = v0_2.split("\\|");
            if (v0_3.length == 2) {
                String v1_2 = v0_3[0];
                String v0_1 = v0_3[1];
                if ((!com.facebook.internal.Utility.isNullOrEmpty(v1_2)) && (!com.facebook.internal.Utility.isNullOrEmpty(v0_1))) {
                    com.facebook.internal.FetchedAppSettings$DialogFeatureConfig v3_5 = p5.optString("url");
                    if (!com.facebook.internal.Utility.isNullOrEmpty(v3_5)) {
                        v2 = android.net.Uri.parse(v3_5);
                    }
                    return new com.facebook.internal.FetchedAppSettings$DialogFeatureConfig(v1_2, v0_1, v2, com.facebook.internal.FetchedAppSettings$DialogFeatureConfig.parseVersionSpec(p5.optJSONArray("versions")));
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.internal.ImageDownloader.download() calling method android.net.Uri.parse()


    private static void download(com.facebook.internal.ImageDownloader$RequestKey p9, android.content.Context p10)
    {
        com.facebook.FacebookException v0 = 0;
        com.facebook.internal.ImageRequest v2_0 = 1;
        try {
            int v3_0 = ((java.net.HttpURLConnection) new java.net.URL(p9.uri.toString()).openConnection());
            try {
                int v4_2;
                int v10_1;
                v3_0.setInstanceFollowRedirects(0);
                int v4_1 = v3_0.getResponseCode();
                try {
                    if (v4_1 == 200) {
                        v10_1 = com.facebook.internal.ImageResponseCache.interceptAndCacheImageStream(p10, v3_0);
                        v4_2 = android.graphics.BitmapFactory.decodeStream(v10_1);
                    } else {
                        if ((v4_1 == 301) || (v4_1 == 302)) {
                            try {
                                int v10_5 = v3_0.getHeaderField("location");
                            } catch (int v4_0) {
                                v10_1 = 0;
                                v2_0 = 0;
                                com.facebook.internal.Utility.closeQuietly(v10_1);
                                com.facebook.internal.Utility.disconnectQuietly(v3_0);
                                v4_2 = 0;
                                v0 = v4_0;
                                if (v2_0 != null) {
                                    com.facebook.internal.ImageDownloader.issueResponse(p9, v0, v4_2, 0);
                                }
                                return;
                            }
                            if (!com.facebook.internal.Utility.isNullOrEmpty(v10_5)) {
                                int v10_6 = android.net.Uri.parse(v10_5);
                                com.facebook.internal.UrlRedirectCache.cacheUriRedirect(p9.uri, v10_6);
                                com.facebook.internal.ImageRequest v2_3 = com.facebook.internal.ImageDownloader.removePendingRequest(p9);
                                if ((v2_3 != null) && (!v2_3.isCancelled)) {
                                    com.facebook.internal.ImageDownloader.enqueueCacheRead(v2_3.request, new com.facebook.internal.ImageDownloader$RequestKey(v10_6, p9.tag), 0);
                                }
                            }
                            v10_1 = 0;
                            v4_2 = 0;
                            v2_0 = 0;
                        } else {
                            v10_1 = v3_0.getErrorStream();
                            int v4_9 = new StringBuilder();
                            if (v10_1 == 0) {
                                v4_9.append("Unexpected error while downloading an image.");
                            } else {
                                com.facebook.FacebookException v5_4 = new java.io.InputStreamReader(v10_1);
                                char[] v6_1 = new char[128];
                                while(true) {
                                    int v7_1 = v5_4.read(v6_1, 0, v6_1.length);
                                    if (v7_1 <= 0) {
                                        break;
                                    }
                                    v4_9.append(v6_1, 0, v7_1);
                                }
                                com.facebook.internal.Utility.closeQuietly(v5_4);
                            }
                            v4_2 = 0;
                            v0 = new com.facebook.FacebookException(v4_9.toString());
                        }
                    }
                } catch (Throwable v9_1) {
                    v0 = v10_1;
                    com.facebook.internal.Utility.closeQuietly(v0);
                    com.facebook.internal.Utility.disconnectQuietly(v3_0);
                    throw v9_1;
                } catch (int v4_0) {
                }
                com.facebook.internal.Utility.closeQuietly(v10_1);
                com.facebook.internal.Utility.disconnectQuietly(v3_0);
            } catch (Throwable v9_1) {
            } catch (int v4_0) {
                v10_1 = 0;
            }
        } catch (Throwable v9_1) {
            v3_0 = 0;
        } catch (int v4_0) {
            v10_1 = 0;
            v3_0 = 0;
        }
    }

Method com.facebook.internal.ImageRequest.getProfilePictureUri() calling method android.net.Uri.parse()


    public static android.net.Uri getProfilePictureUri(String p5, int p6, int p7)
    {
        com.facebook.internal.Validate.notNullOrEmpty(p5, "userId");
        String v6_3 = Math.max(p6, 0);
        String v7_4 = Math.max(p7, 0);
        if ((v6_3 == null) && (v7_4 == null)) {
            throw new IllegalArgumentException("Either width or height must be greater than 0");
        } else {
            android.net.Uri$Builder v1_2 = android.net.Uri.parse(com.facebook.internal.ServerProtocol.getGraphUrlBase()).buildUpon();
            Object[] v3_1 = new Object[2];
            v3_1[0] = com.facebook.FacebookSdk.getGraphApiVersion();
            v3_1[1] = p5;
            android.net.Uri v5_4 = v1_2.path(String.format(java.util.Locale.US, "%s/%s/picture", v3_1));
            if (v7_4 != null) {
                v5_4.appendQueryParameter("height", String.valueOf(v7_4));
            }
            if (v6_3 != null) {
                v5_4.appendQueryParameter("width", String.valueOf(v6_3));
            }
            v5_4.appendQueryParameter("migration_overrides", "{october_2012:true}");
            return v5_4.build();
        }
    }

Method com.facebook.unity.FBDialogUtils.createShareContentBuilder() calling method android.net.Uri.parse()


    public static com.facebook.share.model.ShareLinkContent$Builder createShareContentBuilder(android.os.Bundle p3)
    {
        com.facebook.share.model.ShareLinkContent$Builder v0_1 = new com.facebook.share.model.ShareLinkContent$Builder();
        if (p3.containsKey("content_title")) {
            v0_1.setContentTitle(p3.getString("content_title"));
        }
        if (p3.containsKey("content_description")) {
            v0_1.setContentDescription(p3.getString("content_description"));
        }
        if (p3.containsKey("content_url")) {
            v0_1.setContentUrl(android.net.Uri.parse(p3.getString("content_url")));
        }
        if (p3.containsKey("photo_url")) {
            v0_1.setImageUrl(android.net.Uri.parse(p3.getString("photo_url")));
        }
        return v0_1;
    }

Method com.facebook.internal.Validate.hasCustomTabRedirectActivity() calling method android.net.Uri.parse()


    public static boolean hasCustomTabRedirectActivity(android.content.Context p5)
    {
        java.util.Iterator v0_2;
        com.facebook.internal.Validate.notNull(p5, "context");
        java.util.Iterator v0_1 = p5.getPackageManager();
        if (v0_1 == null) {
            v0_2 = 0;
        } else {
            android.content.pm.ActivityInfo v1_2 = new android.content.Intent();
            v1_2.setAction("android.intent.action.VIEW");
            v1_2.addCategory("android.intent.category.DEFAULT");
            v1_2.addCategory("android.intent.category.BROWSABLE");
            int v2_3 = new StringBuilder();
            v2_3.append("fb");
            v2_3.append(com.facebook.FacebookSdk.getApplicationId());
            v2_3.append("://authorize");
            v1_2.setData(android.net.Uri.parse(v2_3.toString()));
            v0_2 = v0_1.queryIntentActivities(v1_2, 64);
        }
        android.content.pm.ActivityInfo v1_0 = 0;
        if (v0_2 != null) {
            java.util.Iterator v0_3 = v0_2.iterator();
            int v2_7 = 0;
            while (v0_3.hasNext()) {
                int v2_10 = ((android.content.pm.ResolveInfo) v0_3.next()).activityInfo;
                if ((!v2_10.name.equals("com.facebook.CustomTabActivity")) || (!v2_10.packageName.equals(p5.getPackageName()))) {
                    return 0;
                } else {
                    v2_7 = 1;
                }
            }
            v1_0 = v2_7;
        }
        return v1_0;
    }

Method com.facebook.internal.WebDialog$DialogWebViewClient.shouldOverrideUrlLoading() calling method android.net.Uri.parse()

Couldn't retrieve source code

Method com.facebook.internal.WebDialog$UploadStagingResourcesTask.doInBackground() calling method android.net.Uri.parse()


    protected varargs String[] doInBackground(Void[] p10)
    {
        java.util.Iterator v10_1 = this.parameters.getStringArray("media");
        android.os.AsyncTask v0_3 = new String[v10_1.length];
        java.util.concurrent.CountDownLatch v1_2 = new Exception[v10_1.length];
        this.exceptions = v1_2;
        java.util.concurrent.CountDownLatch v1_0 = new java.util.concurrent.CountDownLatch(v10_1.length);
        java.util.concurrent.ConcurrentLinkedQueue v2_2 = new java.util.concurrent.ConcurrentLinkedQueue();
        com.facebook.AccessToken v3 = com.facebook.AccessToken.getCurrentAccessToken();
        int v4 = 0;
        try {
            while (v4 < v10_1.length) {
                if (!this.isCancelled()) {
                    com.facebook.GraphRequestAsyncTask v7_3 = android.net.Uri.parse(v10_1[v4]);
                    if (!com.facebook.internal.Utility.isWebUri(v7_3)) {
                        v2_2.add(com.facebook.share.internal.ShareInternalUtility.newUploadStagingResourceWithImageRequest(v3, v7_3, new com.facebook.internal.WebDialog$UploadStagingResourcesTask$1(this, v0_3, v4, v1_0)).executeAsync());
                    } else {
                        v0_3[v4] = v7_3.toString();
                        v1_0.countDown();
                    }
                    v4++;
                } else {
                    java.util.Iterator v10_2 = v2_2.iterator();
                    while (v10_2.hasNext()) {
                        ((android.os.AsyncTask) v10_2.next()).cancel(1);
                    }
                    return 0;
                }
            }
        } catch (Exception) {
            java.util.Iterator v10_3 = v2_2.iterator();
        }
        v1_0.await();
        return v0_3;
    }

Method com.facebook.internal.WebDialog.parseResponseUri() calling method android.net.Uri.parse()


    protected android.os.Bundle parseResponseUri(String p2)
    {
        android.os.Bundle v2_1 = android.net.Uri.parse(p2);
        android.os.Bundle v0_1 = com.facebook.internal.Utility.parseUrlQueryString(v2_1.getQuery());
        v0_1.putAll(com.facebook.internal.Utility.parseUrlQueryString(v2_1.getFragment()));
        return v0_1;
    }

Method com.facebook.login.LoginManager.getProfileFromBundle() calling method android.net.Uri.parse()


    private static com.facebook.Profile getProfileFromBundle(android.os.Bundle p8)
    {
        String v6 = p8.getString("com.facebook.platform.extra.PROFILE_NAME");
        String v3 = p8.getString("com.facebook.platform.extra.PROFILE_FIRST_NAME");
        String v4 = p8.getString("com.facebook.platform.extra.PROFILE_MIDDLE_NAME");
        String v5 = p8.getString("com.facebook.platform.extra.PROFILE_LAST_NAME");
        String v0_2 = p8.getString("com.facebook.platform.extra.PROFILE_LINK");
        String v2 = p8.getString("com.facebook.platform.extra.PROFILE_USER_ID");
        if ((v6 == null) || ((v3 == null) || ((v4 == null) || ((v5 == null) || ((v0_2 == null) || (v2 == null)))))) {
            return 0;
        } else {
            com.facebook.Profile v8_2 = new com.facebook.Profile;
            v8_2(v2, v3, v4, v5, v6, android.net.Uri.parse(v0_2));
            return v8_2;
        }
    }

Method com.facebook.messenger.MessengerUtils.getAllAvailableProtocolVersions() calling method android.net.Uri.parse()


    private static java.util.Set getAllAvailableProtocolVersions(android.content.Context p7)
    {
        android.database.Cursor v0_0 = p7.getContentResolver();
        Throwable v7_3 = new java.util.HashSet();
        android.database.Cursor v0_1 = v0_0.query(android.net.Uri.parse("content://com.facebook.orca.provider.MessengerPlatformProvider/versions"), new String[] {"version"}), 0, 0, 0);
        if (v0_1 != null) {
            try {
                int v1_0 = v0_1.getColumnIndex("version");
            } catch (Throwable v7_2) {
                v0_1.close();
                throw v7_2;
            }
            while (v0_1.moveToNext()) {
                v7_3.add(Integer.valueOf(v0_1.getInt(v1_0)));
            }
            v0_1.close();
        }
        return v7_3;
    }

Method com.facebook.messenger.MessengerUtils.startViewUri() calling method android.net.Uri.parse()


    private static void startViewUri(android.content.Context p2, String p3)
    {
        p2.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p3)));
        return;
    }

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


    private android.content.Intent createIntentFromSuggestion(android.database.Cursor p9, int p10, String p11)
    {
        try {
            android.support.v7.widget.SearchView v1_6 = android.support.v7.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.mSearchable.getSuggestIntentAction();
        }
        if (v1_6 == null) {
            v1_6 = "android.intent.action.SEARCH";
        }
        String v2 = v1_6;
        android.support.v7.widget.SearchView v1_2 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_data");
        if (v1_2 == null) {
            v1_2 = this.mSearchable.getSuggestIntentData();
        }
        if (v1_2 != null) {
            android.net.Uri v3_1 = android.support.v7.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, android.support.v7.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_extra_data"), android.support.v7.widget.SuggestionsAdapter.getColumnString(p9, "suggest_intent_query"), p10, p11);
    }

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.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 (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);
        Throwable 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 {
                Throwable v9_6 = v8_3.getInt(0);
                if (v9_6 > null) {
                    com.google.android.gms.dynamite.DynamiteModule.zzig = v8_3.getString(2);
                    android.database.Cursor v1_4 = v8_3.getColumnIndex("loaderVersion");
                    if (v1_4 >= null) {
                        com.google.android.gms.dynamite.DynamiteModule.zzih = 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.zzii.get());
                    if ((v10_9 != null) && (v10_9.zzin == null)) {
                        v10_9.zzin = v8_3;
                        v8_3 = 0;
                    }
                }
                if (v8_3 != null) {
                    v8_3.close();
                }
                return v9_6;
            }
        } 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.unity3d.player.p.c() calling method android.net.Uri.parse()


    private void c()
    {
        java.io.FileInputStream v0_0 = this.q;
        if (v0_0 == null) {
            this.a(0);
            this.doCleanUp();
            try {
                this.q = new android.media.MediaPlayer();
            } catch (java.io.FileInputStream v0_14) {
                if (com.unity3d.player.p.a) {
                    android.media.MediaPlayer v1_8 = new StringBuilder("error: ");
                    v1_8.append(v0_14.getMessage());
                    v1_8.append(v0_14);
                    com.unity3d.player.p.b(v1_8.toString());
                }
                this.a(2);
                return;
            }
            if (!this.h) {
                if (this.j == 0) {
                    java.io.FileInputStream v0_8 = this.getResources().getAssets().openFd(this.e);
                    this.q.setDataSource(v0_8.getFileDescriptor(), v0_8.getStartOffset(), v0_8.getLength());
                    v0_8.close();
                    this.q.setDisplay(this.d);
                    this.q.setScreenOnWhilePlaying(1);
                    this.q.setOnBufferingUpdateListener(this);
                    this.q.setOnCompletionListener(this);
                    this.q.setOnPreparedListener(this);
                    this.q.setOnVideoSizeChangedListener(this);
                    this.q.setAudioStreamType(3);
                    this.q.prepareAsync();
                    this.y = new com.unity3d.player.p$b(this, this);
                    new Thread(this.y).start();
                    return;
                } else {
                    java.io.FileInputStream v0_10 = new java.io.FileInputStream(this.e);
                    this.q.setDataSource(v0_10.getFD(), this.i, this.j);
                }
                v0_10.close();
            } else {
                this.q.setDataSource(this.b, android.net.Uri.parse(this.e));
            }
            this.q.setDisplay(this.d);
            this.q.setScreenOnWhilePlaying(1);
            this.q.setOnBufferingUpdateListener(this);
            this.q.setOnCompletionListener(this);
            this.q.setOnPreparedListener(this);
            this.q.setOnVideoSizeChangedListener(this);
            this.q.setAudioStreamType(3);
            this.q.prepareAsync();
            this.y = new com.unity3d.player.p$b(this, this);
            new Thread(this.y).start();
            return;
        } else {
            v0_0.setDisplay(this.d);
            if (!this.v) {
                if (com.unity3d.player.p.a) {
                    com.unity3d.player.p.b("Resuming playback");
                }
                this.q.start();
            }
            return;
        }
    }

Method android.support.v4.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 com.facebook.Profile$1.onSuccess() calling method android.net.Uri.parse()


    public void onSuccess(org.json.JSONObject p10)
    {
        String v2 = p10.optString("id");
        if (v2 != null) {
            int v10_1;
            String v0_2 = p10.optString("link");
            com.facebook.Profile v8 = new com.facebook.Profile;
            String v3 = p10.optString("first_name");
            String v4 = p10.optString("middle_name");
            String v5 = p10.optString("last_name");
            String v6 = p10.optString("name");
            if (v0_2 == null) {
                v10_1 = 0;
            } else {
                v10_1 = android.net.Uri.parse(v0_2);
            }
            v8(v2, v3, v4, v5, v6, v10_1);
            com.facebook.Profile.setCurrentProfile(v8);
            return;
        } else {
            return;
        }
    }

Method com.facebook.applinks.FacebookAppLinkResolver.getAndroidTargetFromJson() calling method android.net.Uri.parse()


    private static bolts.AppLink$Target getAndroidTargetFromJson(org.json.JSONObject p5)
    {
        android.net.Uri v0 = 0;
        String v1_1 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p5, "package", 0);
        if (v1_1 != null) {
            String v2_1 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p5, "class", 0);
            String v3_0 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p5, "app_name", 0);
            bolts.AppLink$Target v5_1 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p5, "url", 0);
            if (v5_1 != null) {
                v0 = android.net.Uri.parse(v5_1);
            }
            return new bolts.AppLink$Target(v1_1, v2_1, v0, v3_0);
        } else {
            return 0;
        }
    }

Method com.facebook.applinks.FacebookAppLinkResolver.getWebFallbackUriFromJson() calling method android.net.Uri.parse()


    private static android.net.Uri getWebFallbackUriFromJson(android.net.Uri p2, org.json.JSONObject p3)
    {
        try {
            int v3_3 = p3.getJSONObject("web");
        } catch (org.json.JSONException) {
            return p2;
        }
        if (com.facebook.applinks.FacebookAppLinkResolver.tryGetBooleanFromJson(v3_3, "should_fallback", 1)) {
            int v3_2;
            int v3_1 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(v3_3, "url", 0);
            if (v3_1 == 0) {
                v3_2 = 0;
            } else {
                v3_2 = android.net.Uri.parse(v3_1);
            }
            if (v3_2 == 0) {
                return p2;
            } else {
                p2 = v3_2;
                return p2;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.internal.FacebookWebFallbackDialog.parseResponseUri() calling method android.net.Uri.parse()


    protected android.os.Bundle parseResponseUri(String p4)
    {
        android.os.Bundle v4_3 = com.facebook.internal.Utility.parseUrlQueryString(android.net.Uri.parse(p4).getQuery());
        String v1_6 = v4_3.getString("bridge_args");
        v4_3.remove("bridge_args");
        if (!com.facebook.internal.Utility.isNullOrEmpty(v1_6)) {
            try {
                v4_3.putBundle("com.facebook.platform.protocol.BRIDGE_ARGS", com.facebook.internal.BundleJSONConverter.convertToBundle(new org.json.JSONObject(v1_6)));
            } catch (org.json.JSONException v0_4) {
                com.facebook.internal.Utility.logd(com.facebook.internal.FacebookWebFallbackDialog.TAG, "Unable to parse bridge_args JSON", v0_4);
            }
        }
        String v1_2 = v4_3.getString("method_results");
        v4_3.remove("method_results");
        if (!com.facebook.internal.Utility.isNullOrEmpty(v1_2)) {
            if (com.facebook.internal.Utility.isNullOrEmpty(v1_2)) {
                v1_2 = "{}";
            }
            try {
                v4_3.putBundle("com.facebook.platform.protocol.RESULT_ARGS", com.facebook.internal.BundleJSONConverter.convertToBundle(new org.json.JSONObject(v1_2)));
            } catch (org.json.JSONException v0_11) {
                com.facebook.internal.Utility.logd(com.facebook.internal.FacebookWebFallbackDialog.TAG, "Unable to parse bridge_args JSON", v0_11);
            }
        }
        v4_3.remove("version");
        v4_3.putInt("com.facebook.platform.protocol.PROTOCOL_VERSION", com.facebook.internal.NativeProtocol.getLatestKnownVersion());
        return v4_3;
    }

Method com.facebook.share.widget.ShareDialog$WebShareHandler.createAndMapAttachments() calling method android.net.Uri.parse()


    private com.facebook.share.model.SharePhotoContent createAndMapAttachments(com.facebook.share.model.SharePhotoContent p8, java.util.UUID p9)
    {
        com.facebook.share.model.SharePhotoContent$Builder v0_2 = new com.facebook.share.model.SharePhotoContent$Builder().readFrom(p8);
        java.util.ArrayList v1_1 = new java.util.ArrayList();
        java.util.ArrayList v2_1 = new java.util.ArrayList();
        int v3 = 0;
        while (v3 < p8.getPhotos().size()) {
            com.facebook.share.model.SharePhoto v4_4 = ((com.facebook.share.model.SharePhoto) p8.getPhotos().get(v3));
            com.facebook.internal.NativeAppCallAttachmentStore$Attachment v5_0 = v4_4.getBitmap();
            if (v5_0 != null) {
                com.facebook.internal.NativeAppCallAttachmentStore$Attachment v5_1 = com.facebook.internal.NativeAppCallAttachmentStore.createAttachment(p9, v5_0);
                v4_4 = new com.facebook.share.model.SharePhoto$Builder().readFrom(v4_4).setImageUrl(android.net.Uri.parse(v5_1.getAttachmentUrl())).setBitmap(0).build();
                v2_1.add(v5_1);
            }
            v1_1.add(v4_4);
            v3++;
        }
        v0_2.setPhotos(v1_1);
        com.facebook.internal.NativeAppCallAttachmentStore.addAttachments(v2_1);
        return v0_2.build();
    }

Method com.facebook.login.CustomTabLoginMethodHandler.onCustomTabComplete() calling method android.net.Uri.parse()

Couldn't retrieve source code

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 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.common.images.WebImage.zaa() calling method android.net.Uri.parse()

Couldn't retrieve source code

Method android.support.v4.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 android.support.v7.widget.SuggestionsAdapter.getDrawableFromResourceValue() calling method android.net.Uri.parse()

Couldn't retrieve source code

Method com.facebook.internal.WebDialog.setUpWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

Method bolts.WebViewAppLinkResolver$2.then() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public bolts.Task then(bolts.Task p7)
    {
        String v1_1;
        bolts.Task v7_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v7_1), "boltsWebViewAppLinkResolverResult");
        if (this.val$contentType.get() == null) {
            v1_1 = 0;
        } else {
            v1_1 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v1_1, 0, 0);
        return v7_1.getTask();
    }
[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lbolts/WebViewAppLinkResolver$2;', 'then', '(Lbolts/Task;)Ljava/lang/Object;'), ('Lbolts/WebViewAppLinkResolver$2;', 'then', '(Lbolts/Task;)Lbolts/Task;'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method bolts.WebViewAppLinkResolver$2.then():


    public bridge synthetic Object then(bolts.Task p1)
    {
        return this.then(p1);
    }

Method bolts.WebViewAppLinkResolver$2.then():


    public bolts.Task then(bolts.Task p7)
    {
        String v1_1;
        bolts.Task v7_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v7_1), "boltsWebViewAppLinkResolverResult");
        if (this.val$contentType.get() == null) {
            v1_1 = 0;
        } else {
            v1_1 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v1_1, 0, 0);
        return v7_1.getTask();
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/facebook/internal/WebDialog$UploadStagingResourcesTask;', 'onPostExecute', '(Ljava/lang/Object;)V'), ('Lcom/facebook/internal/WebDialog$UploadStagingResourcesTask;', 'onPostExecute', '([Ljava/lang/String;)V'), ('Lcom/facebook/internal/WebDialog;', 'access$1000', '(Lcom/facebook/internal/WebDialog; I)V'), ('Lcom/facebook/internal/WebDialog;', 'setUpWebView', '(I)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.facebook.internal.WebDialog$UploadStagingResourcesTask.onPostExecute():


    protected bridge synthetic void onPostExecute(Object p1)
    {
        this.onPostExecute(((String[]) p1));
        return;
    }

Method com.facebook.internal.WebDialog$UploadStagingResourcesTask.onPostExecute():


    protected void onPostExecute(String[] p5)
    {
        com.facebook.internal.WebDialog.access$300(this.this$0).dismiss();
        com.facebook.internal.WebDialog v0_7 = this.exceptions;
        int v2 = 0;
        while (v2 < v0_7.length) {
            Exception v3 = v0_7[v2];
            if (v3 == null) {
                v2++;
            } else {
                this.this$0.sendErrorToListener(v3);
                return;
            }
        }
        if (p5 != 0) {
            int v5_1 = java.util.Arrays.asList(p5);
            if (!v5_1.contains(0)) {
                com.facebook.internal.Utility.putJSONValueInBundle(this.parameters, "media", new org.json.JSONArray(v5_1));
                int v5_3 = com.facebook.internal.ServerProtocol.getDialogAuthority();
                com.facebook.internal.WebDialog v0_4 = new StringBuilder();
                v0_4.append(com.facebook.FacebookSdk.getGraphApiVersion());
                v0_4.append("/");
                v0_4.append("dialog/");
                v0_4.append(this.action);
                com.facebook.internal.WebDialog.access$902(this.this$0, com.facebook.internal.Utility.buildUri(v5_3, v0_4.toString(), this.parameters).toString());
                com.facebook.internal.WebDialog.access$1000(this.this$0, ((com.facebook.internal.WebDialog.access$600(this.this$0).getDrawable().getIntrinsicWidth() / 2) + 1));
                return;
            } else {
                this.this$0.sendErrorToListener(new com.facebook.FacebookException("Failed to stage photos for web dialog"));
                return;
            }
        } else {
            this.this$0.sendErrorToListener(new com.facebook.FacebookException("Failed to stage photos for web dialog"));
            return;
        }
    }

Method com.facebook.internal.WebDialog.access$1000():


    static synthetic void access$1000(com.facebook.internal.WebDialog p0, int p1)
    {
        p0.setUpWebView(p1);
        return;
    }

Method com.facebook.internal.WebDialog.setUpWebView():


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/facebook/internal/WebDialog$UploadStagingResourcesTask;', 'onPostExecute', '([Ljava/lang/String;)V'), ('Lcom/facebook/internal/WebDialog;', 'access$1000', '(Lcom/facebook/internal/WebDialog; I)V'), ('Lcom/facebook/internal/WebDialog;', 'setUpWebView', '(I)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.facebook.internal.WebDialog$UploadStagingResourcesTask.onPostExecute():


    protected void onPostExecute(String[] p5)
    {
        com.facebook.internal.WebDialog.access$300(this.this$0).dismiss();
        com.facebook.internal.WebDialog v0_7 = this.exceptions;
        int v2 = 0;
        while (v2 < v0_7.length) {
            Exception v3 = v0_7[v2];
            if (v3 == null) {
                v2++;
            } else {
                this.this$0.sendErrorToListener(v3);
                return;
            }
        }
        if (p5 != 0) {
            int v5_1 = java.util.Arrays.asList(p5);
            if (!v5_1.contains(0)) {
                com.facebook.internal.Utility.putJSONValueInBundle(this.parameters, "media", new org.json.JSONArray(v5_1));
                int v5_3 = com.facebook.internal.ServerProtocol.getDialogAuthority();
                com.facebook.internal.WebDialog v0_4 = new StringBuilder();
                v0_4.append(com.facebook.FacebookSdk.getGraphApiVersion());
                v0_4.append("/");
                v0_4.append("dialog/");
                v0_4.append(this.action);
                com.facebook.internal.WebDialog.access$902(this.this$0, com.facebook.internal.Utility.buildUri(v5_3, v0_4.toString(), this.parameters).toString());
                com.facebook.internal.WebDialog.access$1000(this.this$0, ((com.facebook.internal.WebDialog.access$600(this.this$0).getDrawable().getIntrinsicWidth() / 2) + 1));
                return;
            } else {
                this.this$0.sendErrorToListener(new com.facebook.FacebookException("Failed to stage photos for web dialog"));
                return;
            }
        } else {
            this.this$0.sendErrorToListener(new com.facebook.FacebookException("Failed to stage photos for web dialog"));
            return;
        }
    }

Method com.facebook.internal.WebDialog.access$1000():


    static synthetic void access$1000(com.facebook.internal.WebDialog p0, int p1)
    {
        p0.setUpWebView(p1);
        return;
    }

Method com.facebook.internal.WebDialog.setUpWebView():


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/facebook/internal/WebDialog;', 'access$1000', '(Lcom/facebook/internal/WebDialog; I)V'), ('Lcom/facebook/internal/WebDialog;', 'setUpWebView', '(I)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.facebook.internal.WebDialog.access$1000():


    static synthetic void access$1000(com.facebook.internal.WebDialog p0, int p1)
    {
        p0.setUpWebView(p1);
        return;
    }

Method com.facebook.internal.WebDialog.setUpWebView():


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/facebook/internal/WebDialog;', 'setUpWebView', '(I)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.facebook.internal.WebDialog.setUpWebView():


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lcom/facebook/internal/WebDialog;', 'onCreate', '(Landroid/os/Bundle;)V'), ('Lcom/facebook/internal/WebDialog;', 'setUpWebView', '(I)V'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method com.facebook.internal.WebDialog.onCreate():


    protected void onCreate(android.os.Bundle p4)
    {
        super.onCreate(p4);
        this.spinner = new android.app.ProgressDialog(this.getContext());
        this.spinner.requestWindowFeature(1);
        this.spinner.setMessage(this.getContext().getString(com.facebook.common.R$string.com_facebook_loading));
        this.spinner.setCanceledOnTouchOutside(0);
        this.spinner.setOnCancelListener(new com.facebook.internal.WebDialog$1(this));
        this.requestWindowFeature(1);
        this.contentFrameLayout = new android.widget.FrameLayout(this.getContext());
        this.resize();
        this.getWindow().setGravity(17);
        this.getWindow().setSoftInputMode(16);
        this.createCrossImage();
        if (this.url != null) {
            this.setUpWebView(((this.crossImageView.getDrawable().getIntrinsicWidth() / 2) + 1));
        }
        this.contentFrameLayout.addView(this.crossImageView, new android.view.ViewGroup$LayoutParams(-2, -2));
        this.setContentView(this.contentFrameLayout);
        return;
    }

Method com.facebook.internal.WebDialog.setUpWebView():


    private void setUpWebView(int p7)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p7, p7, p7, p7);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

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

[TAINT] Const '1' ==>>> Sink '['Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V', '0', 'HTTP_NETWORKING_SINK']' [[('Lbolts/WebViewAppLinkResolver$2;', 'then', '(Lbolts/Task;)Lbolts/Task;'), ('Landroid/webkit/WebSettings;', 'setJavaScriptEnabled', '(Z)V')]]

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

Method bolts.WebViewAppLinkResolver$2.then():


    public bolts.Task then(bolts.Task p7)
    {
        String v1_1;
        bolts.Task v7_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v7_1), "boltsWebViewAppLinkResolverResult");
        if (this.val$contentType.get() == null) {
            v1_1 = 0;
        } else {
            v1_1 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v1_1, 0, 0);
        return v7_1.getTask();
    }

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