Info Call to dangerous WebView settings API

Description

List of all WebView methods used in the application.

Recommendation

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

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

Technical details

Method dev.jci.mwp.activities.TermsAndConditionActivity.setWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private final void setWebView()
    {
        int v0_3 = this.findViewById(2131362600);
        if (v0_3 == 0) {
            throw new kotlin.TypeCastException("null cannot be cast to non-null type android.webkit.WebView");
        } else {
            int v0_2;
            this.mWebView = ((android.webkit.WebView) v0_3);
            int v0_1 = this.mWebView;
            if (v0_1 == 0) {
                v0_2 = 0;
            } else {
                v0_2 = v0_1.getSettings();
            }
            if (v0_2 != 0) {
                android.webkit.WebView v3_0 = v0_2;
                v3_0.setAllowContentAccess(1);
                v3_0.setJavaScriptEnabled(1);
                v3_0.setLoadWithOverviewMode(0);
                v3_0.setLoadsImagesAutomatically(1);
                v3_0.setDomStorageEnabled(1);
            }
            android.webkit.WebView v3_1 = this.mWebView;
            if (v3_1 != null) {
                v3_1.setHorizontalScrollBarEnabled(0);
                String v1_1 = v3_1.getSettings();
                if (v1_1 != null) {
                    v1_1.setJavaScriptEnabled(1);
                }
                v3_1.setWebViewClient(((android.webkit.WebViewClient) new dev.jci.mwp.activities.TermsAndConditionActivity$setWebView$$inlined$apply$lambda$1(this)));
                if (!this.isTermsOfUseClicked) {
                    v3_1.loadUrl("http://www.johnsoncontrols.com/buildings/legal/digital/generaleula");
                } else {
                    v3_1.loadUrl("http://www.johnsoncontrols.com/buildings/legal/digital/generaleula");
                }
            }
            return;
        }
    }

Method com.microsoft.aad.adal.AuthenticationDialog$1.run() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public void run()
    {
        android.view.LayoutInflater v0_3 = ((android.view.LayoutInflater) com.microsoft.aad.adal.AuthenticationDialog.access$000(this.this$0).getSystemService("layout_inflater"));
        android.app.AlertDialog$Builder v1_0 = new android.app.AlertDialog$Builder(com.microsoft.aad.adal.AuthenticationDialog.access$000(this.this$0));
        try {
            android.view.View v4_1 = v0_3.inflate(com.microsoft.aad.adal.AuthenticationDialog.access$100(this.this$0, "dialog_authentication", "layout"), 0);
        } catch (android.app.Dialog v5_33) {
            com.microsoft.aad.adal.Logger.e("AuthenticationDialog", "Failed to inflate authentication dialog", "", com.microsoft.aad.adal.ADALError.DEVELOPER_DIALOG_INFLATION_ERROR, v5_33);
        }
        if (v4_1 != null) {
            com.microsoft.aad.adal.AuthenticationDialog.access$202(this.this$0, ((android.webkit.WebView) v4_1.findViewById(com.microsoft.aad.adal.AuthenticationDialog.access$100(this.this$0, "com_microsoft_aad_adal_webView1", "id"))));
        }
        if (com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0) != null) {
            if (!com.microsoft.aad.adal.AuthenticationSettings.INSTANCE.getDisableWebViewHardwareAcceleration()) {
                com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).setLayerType(1, 0);
                com.microsoft.aad.adal.Logger.d("AuthenticationDialog:show", "Hardware acceleration is disabled in WebView");
            }
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setJavaScriptEnabled(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).requestFocus(130);
            String v3_14 = com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().getUserAgentString();
            android.app.Dialog v5_45 = com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings();
            String v7_13 = new StringBuilder();
            v7_13.append(v3_14);
            v7_13.append(" PKeyAuth/1.0");
            v5_45.setUserAgentString(v7_13.toString());
            String v3_15 = com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().getUserAgentString();
            String v7_16 = new StringBuilder();
            v7_16.append("UserAgent:");
            v7_16.append(v3_15);
            com.microsoft.aad.adal.Logger.v("AuthenticationDialog:show", v7_16.toString());
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).setOnTouchListener(new com.microsoft.aad.adal.AuthenticationDialog$1$2(this));
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setLoadWithOverviewMode(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setDomStorageEnabled(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setUseWideViewPort(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setBuiltInZoomControls(1);
            try {
                String v7_5 = new com.microsoft.aad.adal.Oauth2(com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0)).getCodeRequestUrl();
                com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).setWebViewClient(new com.microsoft.aad.adal.AuthenticationDialog$DialogWebViewClient(this.this$0, com.microsoft.aad.adal.AuthenticationDialog.access$000(this.this$0), com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0).getRedirectUri(), com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0)));
                com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).post(new com.microsoft.aad.adal.AuthenticationDialog$1$3(this, v7_5));
            } catch (android.app.Dialog v5_16) {
                com.microsoft.aad.adal.Logger.e("AuthenticationDialog:show", "Encoding error", "", com.microsoft.aad.adal.ADALError.ENCODING_IS_NOT_SUPPORTED, v5_16);
            }
            v1_0.setView(v4_1).setCancelable(1);
            v1_0.setOnCancelListener(new com.microsoft.aad.adal.AuthenticationDialog$1$4(this));
            com.microsoft.aad.adal.AuthenticationDialog.access$602(this.this$0, v1_0.create());
            com.microsoft.aad.adal.Logger.i("AuthenticationDialog:show", "Showing authenticationDialog", "");
            com.microsoft.aad.adal.AuthenticationDialog.access$600(this.this$0).show();
            return;
        } else {
            com.microsoft.aad.adal.Logger.e("AuthenticationDialog:show", "Expected resource name for webview is com_microsoft_aad_adal_webView1. It is not in your layout file", "", com.microsoft.aad.adal.ADALError.DEVELOPER_DIALOG_LAYOUT_INVALID);
            String v3_4 = new android.content.Intent();
            v3_4.putExtra("com.microsoft.aad.adal:RequestId", com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0).getRequestId());
            com.microsoft.aad.adal.AuthenticationDialog.access$400(this.this$0).onActivityResult(1001, 2001, v3_4);
            if (com.microsoft.aad.adal.AuthenticationDialog.access$500(this.this$0) != null) {
                com.microsoft.aad.adal.AuthenticationDialog.access$500(this.this$0).post(new com.microsoft.aad.adal.AuthenticationDialog$1$1(this));
            }
            return;
        }
    }

Method com.microsoft.aad.adal.AuthenticationActivity.setupWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private void setupWebView()
    {
        this.mWebView.getSettings().setJavaScriptEnabled(1);
        this.mWebView.requestFocus(130);
        this.mWebView.setOnTouchListener(new com.microsoft.aad.adal.AuthenticationActivity$2(this));
        this.mWebView.getSettings().setLoadWithOverviewMode(1);
        this.mWebView.getSettings().setDomStorageEnabled(1);
        this.mWebView.getSettings().setUseWideViewPort(1);
        this.mWebView.getSettings().setBuiltInZoomControls(1);
        this.mWebView.setWebViewClient(new com.microsoft.aad.adal.AuthenticationActivity$CustomWebViewClient(this));
        this.mWebView.setVisibility(4);
        return;
    }

Method dev.jci.mwp.fragments.FavouriteContactsFragment.makeCallOn() calling method android.net.Uri.parse()


    public void makeCallOn(String p7)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "phoneNumber");
        if (android.os.Build$VERSION.SDK_INT < 23) {
            String[] v2_15 = new StringBuilder();
            v2_15.append("tel:");
            v2_15.append(p7);
            this.startActivity(new android.content.Intent("android.intent.action.DIAL", android.net.Uri.parse(v2_15.toString())));
        } else {
            android.content.Intent v0_2 = this.getActivity();
            if (v0_2 != null) {
                if (android.support.v4.app.ActivityCompat.checkSelfPermission(((android.content.Context) v0_2), "android.permission.CALL_PHONE") != 0) {
                    if (android.support.v4.app.ActivityCompat.shouldShowRequestPermissionRationale(v0_2, "android.permission.CALL_PHONE")) {
                        android.widget.Toast.makeText(((android.content.Context) v0_2), ((CharSequence) "App requires Phone Call permission.\nPlease allow that in the device settings."), 1).show();
                    }
                    android.support.v4.app.ActivityCompat.requestPermissions(v0_2, new String[] {"android.permission.CALL_PHONE"}), dev.jci.mwp.services.RequestConstants.PHONE_PERMISSION_CODE.ordinal());
                } else {
                    int v4_2 = new StringBuilder();
                    v4_2.append("tel:");
                    v4_2.append(p7);
                    this.startActivity(new android.content.Intent("android.intent.action.DIAL", android.net.Uri.parse(v4_2.toString())));
                }
            }
        }
        return;
    }

Method dev.jci.mwp.activities.ContactActivity.makeCallOn() calling method android.net.Uri.parse()


    public void makeCallOn(String p5)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p5, "phoneNumber");
        if (android.os.Build$VERSION.SDK_INT < 23) {
            int v2_10 = new StringBuilder();
            v2_10.append("tel:");
            v2_10.append(p5);
            this.startActivity(new android.content.Intent("android.intent.action.DIAL", android.net.Uri.parse(v2_10.toString())));
        } else {
            if (android.support.v4.app.ActivityCompat.checkSelfPermission(((android.content.Context) this), "android.permission.CALL_PHONE") != 0) {
                if (android.support.v4.app.ActivityCompat.shouldShowRequestPermissionRationale(((android.app.Activity) this), "android.permission.CALL_PHONE")) {
                    android.widget.Toast.makeText(((android.content.Context) this), ((CharSequence) "App requires Phone Call permission.\nPlease allow that in the device settings."), 1).show();
                }
                android.support.v4.app.ActivityCompat.requestPermissions(((android.app.Activity) this), new String[] {"android.permission.CALL_PHONE"}), dev.jci.mwp.services.RequestConstants.PHONE_PERMISSION_CODE.ordinal());
            } else {
                int v2_6 = new StringBuilder();
                v2_6.append("tel:");
                v2_6.append(p5);
                this.startActivity(new android.content.Intent("android.intent.action.DIAL", android.net.Uri.parse(v2_6.toString())));
            }
        }
        return;
    }

Method dev.jci.mwp.presenter.LoginPresenter.performActionOnRightBtnClick() calling method android.net.Uri.parse()


    public void performActionOnRightBtnClick()
    {
        this.view.showOrHideProgress(0);
        android.content.Context v0_1 = this.context;
        android.net.Uri v3_1 = this.marketUrl;
        if (v3_1 == null) {
            kotlin.jvm.internal.Intrinsics.throwUninitializedPropertyAccessException("marketUrl");
        }
        v0_1.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v3_1)));
        return;
    }

Method dev.jci.mwp.managers.MyProfileManager.getPath() calling method android.net.Uri.parse()


    public final String getPath(android.net.Uri p11)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p11, "uri");
        if (!android.provider.DocumentsContract.isDocumentUri(dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext(), p11)) {
            if (!kotlin.text.StringsKt.equals("content", p11.getScheme(), 1)) {
                if (kotlin.text.StringsKt.equals("file", p11.getScheme(), 1)) {
                    return p11.getPath();
                }
            } else {
                String v0_12;
                if (!this.isGooglePhotosUri(p11)) {
                    v0_12 = this.getDataColumn(dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext(), p11, 0, 0);
                } else {
                    v0_12 = p11.getLastPathSegment();
                }
                return v0_12;
            }
        } else {
            if (!this.isExternalStorageDocument(p11)) {
                if (!this.isDownloadsDocument(p11)) {
                    if (this.isMediaDocument(p11)) {
                        String[] v7_8;
                        String v0_17 = android.provider.DocumentsContract.getDocumentId(p11);
                        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_17, "docId");
                        String[] v4_13 = new kotlin.text.Regex(":").split(((CharSequence) v0_17), 0);
                        if (v4_13.isEmpty()) {
                            v7_8 = kotlin.collections.CollectionsKt.emptyList();
                        } else {
                            boolean v6_17 = v4_13.listIterator(v4_13.size());
                            while (v6_17.hasPrevious()) {
                                int v8_9;
                                if (((CharSequence) ((String) v6_17.previous())).length() != 0) {
                                    v8_9 = 0;
                                } else {
                                    v8_9 = 1;
                                }
                                if (v8_9 == 0) {
                                    v7_8 = kotlin.collections.CollectionsKt.take(((Iterable) v4_13), (v6_17.nextIndex() + 1));
                                }
                            }
                        }
                        String[] v4_14 = ((java.util.Collection) v7_8);
                        if (v4_14 == null) {
                            throw new kotlin.TypeCastException("null cannot be cast to non-null type java.util.Collection<T>");
                        } else {
                            String[] v7_12 = new String[0];
                            String[] v7_0 = v4_14.toArray(v7_12);
                            if (v7_0 == null) {
                                throw new kotlin.TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
                            } else {
                                String[] v4_1 = ((String[]) v7_0);
                                String v5_0 = v4_1[0];
                                android.net.Uri v1_2 = ((android.net.Uri) 0);
                                if (!kotlin.jvm.internal.Intrinsics.areEqual("image", v5_0)) {
                                    if (!kotlin.jvm.internal.Intrinsics.areEqual("video", v5_0)) {
                                        if (kotlin.jvm.internal.Intrinsics.areEqual("audio", v5_0)) {
                                            v1_2 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                        }
                                    } else {
                                        v1_2 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                                    }
                                } else {
                                    v1_2 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                                }
                                String[] v7_1 = new String[1];
                                v7_1[0] = v4_1[1];
                                String[] v2_2 = v7_1;
                                String v3_2 = dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext();
                                if (v1_2 == null) {
                                    kotlin.jvm.internal.Intrinsics.throwNpe();
                                }
                                return this.getDataColumn(v3_2, v1_2, "_id=?", v2_2);
                            }
                        }
                    }
                } else {
                    String v0_3 = android.provider.DocumentsContract.getDocumentId(p11);
                    String[] v2_4 = android.net.Uri.parse("content://downloads/public_downloads");
                    String v3_4 = Long.valueOf(v0_3);
                    if (v3_4 == null) {
                        kotlin.jvm.internal.Intrinsics.throwNpe();
                    }
                    String[] v2_5 = android.content.ContentUris.withAppendedId(v2_4, v3_4.longValue());
                    String v3_7 = dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext();
                    kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_5, "contentUri");
                    return this.getDataColumn(v3_7, v2_5, 0, 0);
                }
            } else {
                String[] v7_2;
                String v0_5 = android.provider.DocumentsContract.getDocumentId(p11);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_5, "docId");
                String[] v4_6 = new kotlin.text.Regex(":").split(((CharSequence) v0_5), 0);
                if (v4_6.isEmpty()) {
                    v7_2 = kotlin.collections.CollectionsKt.emptyList();
                } else {
                    boolean v6_11 = v4_6.listIterator(v4_6.size());
                    while (v6_11.hasPrevious()) {
                        int v8_3;
                        if (((CharSequence) ((String) v6_11.previous())).length() != 0) {
                            v8_3 = 0;
                        } else {
                            v8_3 = 1;
                        }
                        if (v8_3 == 0) {
                            v7_2 = kotlin.collections.CollectionsKt.take(((Iterable) v4_6), (v6_11.nextIndex() + 1));
                        }
                    }
                }
                String[] v4_7 = ((java.util.Collection) v7_2);
                if (v4_7 == null) {
                    throw new kotlin.TypeCastException("null cannot be cast to non-null type java.util.Collection<T>");
                } else {
                    String[] v7_6 = new String[0];
                    String[] v7_7 = v4_7.toArray(v7_6);
                    if (v7_7 == null) {
                        throw new kotlin.TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
                    } else {
                        String[] v4_9 = ((String[]) v7_7);
                        if (kotlin.text.StringsKt.equals("primary", v4_9[0], 1)) {
                            android.net.Uri v1_9 = new StringBuilder();
                            v1_9.append(android.os.Environment.getExternalStorageDirectory().toString());
                            v1_9.append("/");
                            v1_9.append(v4_9[1]);
                            return v1_9.toString();
                        }
                    }
                }
            }
        }
        return 0;
    }

Method dev.jci.mwp.managers.FeedbackManager.getPath() calling method android.net.Uri.parse()


    public final String getPath(android.net.Uri p11)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p11, "uri");
        if (!android.provider.DocumentsContract.isDocumentUri(dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext(), p11)) {
            if (!kotlin.text.StringsKt.equals("content", p11.getScheme(), 1)) {
                if (kotlin.text.StringsKt.equals("file", p11.getScheme(), 1)) {
                    return p11.getPath();
                }
            } else {
                String v0_12;
                if (!this.isGooglePhotosUri(p11)) {
                    v0_12 = this.getDataColumn(dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext(), p11, 0, 0);
                } else {
                    v0_12 = p11.getLastPathSegment();
                }
                return v0_12;
            }
        } else {
            if (!this.isExternalStorageDocument(p11)) {
                if (!this.isDownloadsDocument(p11)) {
                    if (this.isMediaDocument(p11)) {
                        boolean v7_15;
                        String v0_17 = android.provider.DocumentsContract.getDocumentId(p11);
                        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_17, "docId");
                        String[] v4_13 = new kotlin.text.Regex(":").split(((CharSequence) v0_17), 0);
                        if (v4_13.isEmpty()) {
                            v7_15 = kotlin.collections.CollectionsKt.emptyList();
                        } else {
                            String v6_11 = v4_13.listIterator(v4_13.size());
                            while (v6_11.hasPrevious()) {
                                int v8_9;
                                if (((CharSequence) ((String) v6_11.previous())).length() != 0) {
                                    v8_9 = 0;
                                } else {
                                    v8_9 = 1;
                                }
                                if (v8_9 == 0) {
                                    v7_15 = kotlin.collections.CollectionsKt.take(((Iterable) v4_13), (v6_11.nextIndex() + 1));
                                }
                            }
                        }
                        String[] v4_14 = ((java.util.Collection) v7_15);
                        if (v4_14 == null) {
                            throw new kotlin.TypeCastException("null cannot be cast to non-null type java.util.Collection<T>");
                        } else {
                            boolean v7_19 = new String[0];
                            boolean v7_0 = v4_14.toArray(v7_19);
                            if (!v7_0) {
                                throw new kotlin.TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
                            } else {
                                android.net.Uri v1_2;
                                String[] v4_1 = ((String[]) v7_0);
                                String v5_0 = v4_1[0];
                                if (!kotlin.jvm.internal.Intrinsics.areEqual("image", v5_0)) {
                                    if (!kotlin.jvm.internal.Intrinsics.areEqual("video", v5_0)) {
                                        if (!kotlin.jvm.internal.Intrinsics.areEqual("audio", v5_0)) {
                                            return 0;
                                        } else {
                                            v1_2 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                        }
                                    } else {
                                        v1_2 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                                    }
                                } else {
                                    v1_2 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                                }
                                boolean v7_7 = new String[1];
                                v7_7[0] = v4_1[1];
                                String[] v2_2 = v7_7;
                                String v3_2 = dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext();
                                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v1_2, "contentUri");
                                return this.getDataColumn(v3_2, v1_2, "_id=?", v2_2);
                            }
                        }
                    }
                } else {
                    String v0_3 = android.provider.DocumentsContract.getDocumentId(p11);
                    String[] v2_4 = android.net.Uri.parse("content://downloads/public_downloads");
                    String v3_4 = Long.valueOf(v0_3);
                    if (v3_4 == null) {
                        kotlin.jvm.internal.Intrinsics.throwNpe();
                    }
                    String[] v2_5 = android.content.ContentUris.withAppendedId(v2_4, v3_4.longValue());
                    String v3_7 = dev.jci.mwp.utils.ApplicationUtils.INSTANCE.getContext();
                    kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_5, "contentUri");
                    return this.getDataColumn(v3_7, v2_5, 0, 0);
                }
            } else {
                boolean v7_9;
                String v0_5 = android.provider.DocumentsContract.getDocumentId(p11);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_5, "docId");
                String[] v4_6 = new kotlin.text.Regex(":").split(((CharSequence) v0_5), 0);
                if (v4_6.isEmpty()) {
                    v7_9 = kotlin.collections.CollectionsKt.emptyList();
                } else {
                    String v6_5 = v4_6.listIterator(v4_6.size());
                    while (v6_5.hasPrevious()) {
                        int v8_3;
                        if (((CharSequence) ((String) v6_5.previous())).length() != 0) {
                            v8_3 = 0;
                        } else {
                            v8_3 = 1;
                        }
                        if (v8_3 == 0) {
                            v7_9 = kotlin.collections.CollectionsKt.take(((Iterable) v4_6), (v6_5.nextIndex() + 1));
                        }
                    }
                }
                String[] v4_7 = ((java.util.Collection) v7_9);
                if (v4_7 == null) {
                    throw new kotlin.TypeCastException("null cannot be cast to non-null type java.util.Collection<T>");
                } else {
                    boolean v7_13 = new String[0];
                    boolean v7_14 = v4_7.toArray(v7_13);
                    if (!v7_14) {
                        throw new kotlin.TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
                    } else {
                        String[] v4_9 = ((String[]) v7_14);
                        if (kotlin.text.StringsKt.equals("primary", v4_9[0], 1)) {
                            android.net.Uri v1_9 = new StringBuilder();
                            v1_9.append(android.os.Environment.getExternalStorageDirectory().toString());
                            v1_9.append("/");
                            v1_9.append(v4_9[1]);
                            return v1_9.toString();
                        }
                    }
                }
            }
        }
        return 0;
    }

Method dev.jci.mwp.videos.views.activities.VideoPlayActivity.initializePlayer() calling method android.net.Uri.parse()


    private final void initializePlayer()
    {
        com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection$Factory v0_4 = ((com.google.android.exoplayer2.ui.PlayerView) this._$_findCachedViewById(dev.jci.mwp.R$id.playerView));
        boolean vtmp2 = v0_4.requestFocus();
        v0_4.setResizeMode(0);
        this.trackSelector = new com.google.android.exoplayer2.trackselection.DefaultTrackSelector(((com.google.android.exoplayer2.trackselection.TrackSelection$Factory) new com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection$Factory(this.bandwidthMeter)));
        com.google.android.exoplayer2.source.ExtractorMediaSource v2_5 = com.google.android.exoplayer2.ExoPlayerFactory.newSimpleInstance(((android.content.Context) this), ((com.google.android.exoplayer2.trackselection.TrackSelector) this.trackSelector));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_5, "ExoPlayerFactory.newSimp\u2026ance(this, trackSelector)");
        this.player = v2_5;
        com.google.android.exoplayer2.source.ExtractorMediaSource v2_6 = this.player;
        if (v2_6 == null) {
            kotlin.jvm.internal.Intrinsics.throwUninitializedPropertyAccessException("player");
        }
        int v4 = 1;
        v2_6.setVideoScalingMode(1);
        v2_6.setPlayWhenReady(this.shouldAutoPlay);
        v2_6.addListener(((com.google.android.exoplayer2.Player$EventListener) new dev.jci.mwp.videos.views.activities.VideoPlayActivity$PlayerEventListener(this)));
        com.google.android.exoplayer2.source.ExtractorMediaSource v2_9 = ((com.google.android.exoplayer2.ui.PlayerView) this._$_findCachedViewById(dev.jci.mwp.R$id.playerView));
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_9, "playerView");
        int v3_7 = this.player;
        if (v3_7 == 0) {
            kotlin.jvm.internal.Intrinsics.throwUninitializedPropertyAccessException("player");
        }
        v2_9.setPlayer(((com.google.android.exoplayer2.Player) v3_7));
        int v3_9 = this.mediaDataSourceFactory;
        if (v3_9 == 0) {
            kotlin.jvm.internal.Intrinsics.throwUninitializedPropertyAccessException("mediaDataSourceFactory");
        }
        int v3_13;
        com.google.android.exoplayer2.source.ExtractorMediaSource v2_12 = new com.google.android.exoplayer2.source.ExtractorMediaSource$Factory(v3_9).createMediaSource(android.net.Uri.parse(this.videoUrl));
        if (this.currentWindow == -1) {
            v3_13 = 0;
        } else {
            v3_13 = 1;
        }
        if (v3_13 != 0) {
            com.google.android.exoplayer2.SimpleExoPlayer v5_7 = this.player;
            if (v5_7 == null) {
                kotlin.jvm.internal.Intrinsics.throwUninitializedPropertyAccessException("player");
            }
            v5_7.seekTo(this.currentWindow, this.playbackPosition);
        }
        com.google.android.exoplayer2.SimpleExoPlayer v5_8 = this.player;
        if (v5_8 == null) {
            kotlin.jvm.internal.Intrinsics.throwUninitializedPropertyAccessException("player");
        }
        if (v3_13 != 0) {
            v4 = 0;
        }
        v5_8.prepare(((com.google.android.exoplayer2.source.MediaSource) v2_12), v4, 0);
        return;
    }

Method dev.jci.mwp.utils.Utils$Companion.getPathFromUri() calling method android.net.Uri.parse()


    public final String getPathFromUri(android.content.Context p11, android.net.Uri p12)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p11, "mContext");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p12, "uri");
        if (!android.provider.DocumentsContract.isDocumentUri(p11, p12)) {
            if (!kotlin.text.StringsKt.equals("content", p12.getScheme(), 1)) {
                if (kotlin.text.StringsKt.equals("file", p12.getScheme(), 1)) {
                    return p12.getPath();
                }
            } else {
                String v0_13;
                if (!((dev.jci.mwp.utils.Utils$Companion) this).isGooglePhotosUri(p12)) {
                    v0_13 = ((dev.jci.mwp.utils.Utils$Companion) this).getDataColumn(p11, p12, 0, 0);
                } else {
                    v0_13 = p12.getLastPathSegment();
                }
                return v0_13;
            }
        } else {
            if (!((dev.jci.mwp.utils.Utils$Companion) this).isExternalStorageDocument(p12)) {
                if (!((dev.jci.mwp.utils.Utils$Companion) this).isDownloadsDocument(p12)) {
                    if (((dev.jci.mwp.utils.Utils$Companion) this).isMediaDocument(p12)) {
                        String[] v7_9;
                        String v0_24 = android.provider.DocumentsContract.getDocumentId(p12);
                        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_24, "docId");
                        String[] v4_13 = new kotlin.text.Regex(":").split(((CharSequence) v0_24), 0);
                        if (v4_13.isEmpty()) {
                            v7_9 = kotlin.collections.CollectionsKt.emptyList();
                        } else {
                            boolean v6_18 = v4_13.listIterator(v4_13.size());
                            while (v6_18.hasPrevious()) {
                                int v8_9;
                                if (((CharSequence) ((String) v6_18.previous())).length() != 0) {
                                    v8_9 = 0;
                                } else {
                                    v8_9 = 1;
                                }
                                if (v8_9 == 0) {
                                    v7_9 = kotlin.collections.CollectionsKt.take(((Iterable) v4_13), (v6_18.nextIndex() + 1));
                                }
                            }
                        }
                        String[] v4_14 = ((java.util.Collection) v7_9);
                        if (v4_14 == null) {
                            throw new kotlin.TypeCastException("null cannot be cast to non-null type java.util.Collection<T>");
                        } else {
                            String[] v7_0 = new String[0];
                            String[] v7_1 = v4_14.toArray(v7_0);
                            if (v7_1 == null) {
                                throw new kotlin.TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
                            } else {
                                String[] v4_1 = ((String[]) v7_1);
                                String v5_0 = v4_1[0];
                                android.net.Uri v1_3 = ((android.net.Uri) 0);
                                if (!kotlin.jvm.internal.Intrinsics.areEqual("image", v5_0)) {
                                    if (!kotlin.jvm.internal.Intrinsics.areEqual("video", v5_0)) {
                                        if (kotlin.jvm.internal.Intrinsics.areEqual("audio", v5_0)) {
                                            v1_3 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                        }
                                    } else {
                                        v1_3 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                                    }
                                } else {
                                    v1_3 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                                }
                                String[] v7_2 = new String[1];
                                v7_2[0] = v4_1[1];
                                String[] v2_3 = v7_2;
                                if (v1_3 == null) {
                                    kotlin.jvm.internal.Intrinsics.throwNpe();
                                }
                                return ((dev.jci.mwp.utils.Utils$Companion) this).getDataColumn(p11, v1_3, "_id=?", v2_3);
                            }
                        }
                    }
                } else {
                    String v0_2 = android.provider.DocumentsContract.getDocumentId(p12);
                    String[] v2_5 = android.net.Uri.parse("content://downloads/public_downloads");
                    String v3_4 = Long.valueOf(v0_2);
                    if (v3_4 == null) {
                        kotlin.jvm.internal.Intrinsics.throwNpe();
                    }
                    String[] v2_6 = android.content.ContentUris.withAppendedId(v2_5, v3_4.longValue());
                    kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_6, "contentUri");
                    return ((dev.jci.mwp.utils.Utils$Companion) this).getDataColumn(p11, v2_6, 0, 0);
                }
            } else {
                String[] v7_3;
                String v0_4 = android.provider.DocumentsContract.getDocumentId(p12);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_4, "docId");
                String[] v4_6 = new kotlin.text.Regex(":").split(((CharSequence) v0_4), 0);
                if (v4_6.isEmpty()) {
                    v7_3 = kotlin.collections.CollectionsKt.emptyList();
                } else {
                    boolean v6_12 = v4_6.listIterator(v4_6.size());
                    while (v6_12.hasPrevious()) {
                        int v8_3;
                        if (((CharSequence) ((String) v6_12.previous())).length() != 0) {
                            v8_3 = 0;
                        } else {
                            v8_3 = 1;
                        }
                        if (v8_3 == 0) {
                            v7_3 = kotlin.collections.CollectionsKt.take(((Iterable) v4_6), (v6_12.nextIndex() + 1));
                        }
                    }
                }
                String[] v4_7 = ((java.util.Collection) v7_3);
                if (v4_7 == null) {
                    throw new kotlin.TypeCastException("null cannot be cast to non-null type java.util.Collection<T>");
                } else {
                    String[] v7_7 = new String[0];
                    String[] v7_8 = v4_7.toArray(v7_7);
                    if (v7_8 == null) {
                        throw new kotlin.TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
                    } else {
                        String[] v4_9 = ((String[]) v7_8);
                        if (kotlin.text.StringsKt.equals("primary", v4_9[0], 1)) {
                            android.net.Uri v1_10 = new StringBuilder();
                            v1_10.append(android.os.Environment.getExternalStorageDirectory().toString());
                            v1_10.append("/");
                            v1_10.append(v4_9[1]);
                            return v1_10.toString();
                        }
                    }
                }
            }
        }
        return 0;
    }

Method dev.jci.mwp.utils.CameraUtils$Companion.bitmapToFile() calling method android.net.Uri.parse()


    public final android.net.Uri bitmapToFile(android.graphics.Bitmap p4, java.io.File p5)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p4, "bitmap");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p5, "file");
        try {
            android.net.Uri v0_9 = ((java.io.OutputStream) new java.io.FileOutputStream(p5));
            p4.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v0_9);
            v0_9.flush();
            v0_9.close();
        } catch (android.net.Uri v0_1) {
            v0_1.printStackTrace();
        }
        android.net.Uri v0_3 = new StringBuilder();
        v0_3.append("file://");
        v0_3.append(p5.getAbsolutePath());
        android.net.Uri v0_6 = android.net.Uri.parse(v0_3.toString());
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v0_6, "Uri.parse(\"file://\"+file.absolutePath)");
        return v0_6;
    }

Method dev.jci.mwp.services.RequestBuilder.doGetRequest() calling method android.net.Uri.parse()


    public final okhttp3.Request doGetRequest(String p6, java.util.HashMap p7, java.util.HashMap p8)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p6, "url");
        android.net.Uri$Builder v0_2 = android.net.Uri.parse(p6).buildUpon();
        if (p8 != null) {
            String v1_1 = ((java.util.Map) p8).entrySet().iterator();
            while (v1_1.hasNext()) {
                String v2_4 = ((java.util.Map$Entry) v1_1.next());
                v0_2.appendQueryParameter(((String) v2_4.getKey()), ((String) v2_4.getValue()));
            }
        }
        String v3_3;
        String v1_3 = v0_2.build().toString();
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v1_3, "tempUrl.build().toString()");
        if (p7 == null) {
            v3_3 = new okhttp3.Request$Builder().url(v1_3).build();
        } else {
            v3_3 = new okhttp3.Request$Builder().url(v1_3).headers(okhttp3.Headers.of(((java.util.Map) p7))).build();
        }
        String v2_2 = v3_3;
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2_2, "request");
        return v2_2;
    }

Method dev.jci.mwp.activities.BaseActivity.openIntuneApp() calling method android.net.Uri.parse()


    public final void openIntuneApp()
    {
        android.content.Intent v0_1;
        android.content.Intent v0_0 = this.getPackageManager();
        if (v0_0 == null) {
            v0_1 = 0;
        } else {
            v0_1 = v0_0.getLaunchIntentForPackage("com.microsoft.windowsintune.companyportal");
        }
        if (v0_1 == null) {
            try {
                v0_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.microsoft.windowsintune.companyportal"));
            } catch (Exception v1) {
                v0_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://play.google.com/STORE/apps/details?id=com.microsoft.windowsintune.companyportal"));
            }
        }
        this.startActivity(v0_1);
        return;
    }

Method dev.jci.mwp.activities.BaseActivity.displayWebView() calling method android.net.Uri.parse()


    public final void displayWebView(String p5)
    {
        if (p5 != null) {
            int v1 = 0;
            android.content.Intent v2_1 = new android.content.Intent("android.intent.action.VIEW");
            v2_1.setData(android.net.Uri.parse(p5));
            this.startActivity(v2_1);
        }
        return;
    }

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


    private android.graphics.drawable.Drawable getDrawableFromResourceValue(String p6)
    {
        if ((p6 != null) && ((!p6.isEmpty()) && (!"0".equals(p6)))) {
            try {
                android.graphics.drawable.Drawable v1_0 = Integer.parseInt(p6);
                android.net.Uri v2_1 = new StringBuilder();
                v2_1.append("android.resource://");
                v2_1.append(this.mProviderContext.getPackageName());
                v2_1.append("/");
                v2_1.append(v1_0);
                android.net.Uri v2_2 = v2_1.toString();
                android.graphics.drawable.Drawable v3_4 = this.checkIconCache(v2_2);
            } catch (android.graphics.drawable.Drawable v1) {
                android.graphics.drawable.Drawable v3_7 = new StringBuilder();
                v3_7.append("Icon resource not found: ");
                v3_7.append(p6);
                android.util.Log.w("SuggestionsAdapter", v3_7.toString());
                return 0;
            } catch (NumberFormatException v0) {
                android.graphics.drawable.Drawable v1_2 = this.checkIconCache(p6);
                if (v1_2 == null) {
                    android.graphics.drawable.Drawable v1_4 = this.getDrawable(android.net.Uri.parse(p6));
                    this.storeInIconCache(p6, v1_4);
                    return v1_4;
                } else {
                    return v1_2;
                }
            }
            if (v3_4 == null) {
                android.graphics.drawable.Drawable v3_5 = android.support.v4.content.ContextCompat.getDrawable(this.mProviderContext, v1_0);
                this.storeInIconCache(v2_2, v3_5);
                return v3_5;
            } else {
                return v3_4;
            }
        } else {
            return 0;
        }
    }

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


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

Method com.microsoft.identity.common.internal.providers.microsoft.MicrosoftAccount.<init>() calling method android.net.Uri.parse()


    public MicrosoftAccount(com.microsoft.identity.common.internal.providers.oauth2.IDToken p7, String p8, String p9)
    {
        long v1_9 = new StringBuilder();
        v1_9.append("Init: ");
        v1_9.append(com.microsoft.identity.common.internal.providers.microsoft.MicrosoftAccount.TAG);
        com.microsoft.identity.common.internal.logging.Logger.verbose(com.microsoft.identity.common.internal.providers.microsoft.MicrosoftAccount.TAG, v1_9.toString());
        this.mIDToken = p7;
        java.util.Map v0_1 = p7.getTokenClaims();
        this.mUniqueId = this.getUniqueId(v0_1);
        this.mDisplayableId = this.getDisplayableId(v0_1);
        this.mName = ((String) v0_1.get("name"));
        this.mIdentityProvider = ((String) v0_1.get("iss"));
        this.mGivenName = ((String) v0_1.get("given_name"));
        this.mFamilyName = ((String) v0_1.get("family_name"));
        this.mMiddleName = ((String) v0_1.get("middle_name"));
        this.mTenantId = ((String) v0_1.get("tid"));
        this.mUid = p8;
        this.mUtid = p9;
        long v1_22 = 0;
        if (!com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(((String) v0_1.get("pwd_exp")))) {
            v1_22 = Long.parseLong(((String) v0_1.get("pwd_exp")));
        }
        if (v1_22 > 0) {
            android.net.Uri v3_10 = new java.util.GregorianCalendar();
            v3_10.add(13, ((int) v1_22));
            this.mPasswordExpiresOn = v3_10.getTime();
        }
        this.mPasswordChangeUrl = 0;
        if (!com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(((String) v0_1.get("pwd_url")))) {
            this.mPasswordChangeUrl = android.net.Uri.parse(((String) v0_1.get("pwd_url")));
        }
        return;
    }

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


    private static android.net.Uri zza(org.json.JSONObject p1)
    {
        org.json.JSONException v1_1;
        if (!p1.has("url")) {
            v1_1 = 0;
        } else {
            try {
                v1_1 = android.net.Uri.parse(p1.getString("url"));
            } catch (org.json.JSONException v1) {
            }
        }
        return v1_1;
    }

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


    public final android.net.Uri parseUri(String p1, int p2, int p3)
    {
        android.net.Uri v1_1 = this.getString(p1, p2, p3);
        if (v1_1 != null) {
            return android.net.Uri.parse(v1_1);
        } else {
            return 0;
        }
    }

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


    public static com.google.android.gms.auth.api.signin.GoogleSignInAccount fromJsonString(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_11 = v0_2.optString("photoUrl", 0);
            if (android.text.TextUtils.isEmpty(v13_11)) {
                v8 = 0;
            } else {
                v8 = android.net.Uri.parse(v13_11);
            }
            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++;
            }
            return com.google.android.gms.auth.api.signin.GoogleSignInAccount.create(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).setServerAuthCode(v0_2.optString("serverAuthCode", 0));
        } else {
            return 0;
        }
    }

Method com.google.android.exoplayer2.upstream.DefaultHttpDataSource.getUri() calling method android.net.Uri.parse()


    public android.net.Uri getUri()
    {
        android.net.Uri v0_4;
        if (this.connection != null) {
            v0_4 = android.net.Uri.parse(this.connection.getURL().toString());
        } else {
            v0_4 = 0;
        }
        return v0_4;
    }

Method com.google.android.exoplayer2.source.hls.offline.HlsDownloader.getSegments() calling method android.net.Uri.parse()


    protected java.util.List getSegments(com.google.android.exoplayer2.upstream.DataSource p12, com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist p13, boolean p14)
    {
        java.util.ArrayList v0_1 = new java.util.ArrayList();
        if (!(p13 instanceof com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist)) {
            v0_1.add(android.net.Uri.parse(p13.baseUri));
        } else {
            java.util.ArrayList v1_6 = ((com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist) p13);
            com.google.android.exoplayer2.source.hls.offline.HlsDownloader.addResolvedUris(((com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist) p13).baseUri, ((com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist) p13).variants, v0_1);
            com.google.android.exoplayer2.source.hls.offline.HlsDownloader.addResolvedUris(v1_6.baseUri, v1_6.audios, v0_1);
            com.google.android.exoplayer2.source.hls.offline.HlsDownloader.addResolvedUris(v1_6.baseUri, v1_6.subtitles, v0_1);
        }
        java.util.ArrayList v1_2 = new java.util.ArrayList();
        java.util.HashSet v2_4 = new java.util.HashSet();
        java.util.Iterator v3_3 = v0_1.iterator();
        while (v3_3.hasNext()) {
            android.net.Uri v4_2 = ((android.net.Uri) v3_3.next());
            try {
                java.io.IOException v5_1 = ((com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist) com.google.android.exoplayer2.source.hls.offline.HlsDownloader.loadManifest(p12, v4_2));
                v1_2.add(new com.google.android.exoplayer2.offline.SegmentDownloader$Segment(v5_1.startTimeUs, new com.google.android.exoplayer2.upstream.DataSpec(v4_2)));
                com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist$Segment v6_2 = 0;
                long v7_1 = v5_1.segments;
                int v8 = 0;
            } catch (java.io.IOException v5_2) {
                if (!p14) {
                    throw v5_2;
                } else {
                    v1_2.add(new com.google.android.exoplayer2.offline.SegmentDownloader$Segment(0, new com.google.android.exoplayer2.upstream.DataSpec(v4_2)));
                }
            }
            while (v8 < v7_1.size()) {
                com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist$Segment v9_6 = ((com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist$Segment) v7_1.get(v8));
                com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist$Segment v10 = v9_6.initializationSegment;
                if ((v10 != null) && (v10 != v6_2)) {
                    v6_2 = v10;
                    com.google.android.exoplayer2.source.hls.offline.HlsDownloader.addSegment(v1_2, v5_1, v10, v2_4);
                }
                com.google.android.exoplayer2.source.hls.offline.HlsDownloader.addSegment(v1_2, v5_1, v9_6, v2_4);
                v8++;
            }
        }
        return v1_2;
    }

Method com.google.android.exoplayer2.source.dash.DashMediaSource.resolveUtcTimingElementHttp() calling method android.net.Uri.parse()


    private void resolveUtcTimingElementHttp(com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement p5, com.google.android.exoplayer2.upstream.ParsingLoadable$Parser p6)
    {
        this.startLoading(new com.google.android.exoplayer2.upstream.ParsingLoadable(this.dataSource, android.net.Uri.parse(p5.value), 5, p6), new com.google.android.exoplayer2.source.dash.DashMediaSource$UtcTimestampCallback(this, 0), 1);
        return;
    }

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


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

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


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

Method com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Strategy.getIssuerCacheIdentifier() calling method android.net.Uri.parse()


    public String getIssuerCacheIdentifier(com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryAuthorizationRequest p8)
    {
        com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryCloud v1_1 = com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectory.getAzureActiveDirectoryCloud(p8.getAuthority());
        if ((v1_1 != null) || (((com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Configuration) this.getOAuth2Configuration()).isAuthorityHostValidationEnabled())) {
            if ((!v1_1.isValidated()) && (((com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Configuration) this.getOAuth2Configuration()).isAuthorityHostValidationEnabled())) {
                String v2_8 = new StringBuilder();
                v2_8.append(com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Strategy.TAG);
                v2_8.append(":");
                v2_8.append("getIssuerCacheIdentifier");
                com.microsoft.identity.common.internal.logging.Logger.warn(v2_8.toString(), "Authority host validation has been enabled. This data hasn\'t been validated, though.");
            }
            if ((v1_1.isValidated()) || (((com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Configuration) this.getOAuth2Configuration()).isAuthorityHostValidationEnabled())) {
                com.microsoft.identity.common.internal.logging.Logger.info(com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Strategy.TAG, "Building authority URI");
                String v3_7 = android.net.Uri.parse(p8.getAuthority().toString()).buildUpon().authority(v1_1.getPreferredCacheHostName()).build().toString();
                String v5_1 = new StringBuilder();
                v5_1.append("Issuer cache identifier created: ");
                v5_1.append(v3_7);
                com.microsoft.identity.common.internal.logging.Logger.infoPII(com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Strategy.TAG, v5_1.toString());
                return v3_7;
            } else {
                String v2_23 = new StringBuilder();
                v2_23.append(com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Strategy.TAG);
                v2_23.append(":");
                v2_23.append("getIssuerCacheIdentifier");
                com.microsoft.identity.common.internal.logging.Logger.warn(v2_23.toString(), "Authority host validation not specified...but there is no cloud...Hence just return the passed in Authority");
                return p8.getAuthority().toString();
            }
        } else {
            String v2_29 = new StringBuilder();
            v2_29.append(com.microsoft.identity.common.internal.providers.microsoft.azureactivedirectory.AzureActiveDirectoryOAuth2Strategy.TAG);
            v2_29.append(":");
            v2_29.append("getIssuerCacheIdentifier");
            String v2_30 = v2_29.toString();
            String v3_16 = new StringBuilder();
            v3_16.append("Discovery data does not include cloud authority and validation is off. Returning passed in Authority: ");
            v3_16.append(p8.getAuthority().toString());
            com.microsoft.identity.common.internal.logging.Logger.warn(v2_30, v3_16.toString());
            return p8.getAuthority().toString();
        }
    }

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


    static zzg()
    {
        com.google.android.gms.internal.stable.zzg.CONTENT_URI = android.net.Uri.parse("content://com.google.settings/partner");
        return;
    }

Method com.google.android.exoplayer2.upstream.RawResourceDataSource.buildRawResourceUri() calling method android.net.Uri.parse()


    public static android.net.Uri buildRawResourceUri(int p2)
    {
        android.net.Uri v0_1 = new StringBuilder();
        v0_1.append("rawresource:///");
        v0_1.append(p2);
        return android.net.Uri.parse(v0_1.toString());
    }

Method com.google.android.exoplayer2.source.dash.manifest.Representation$SingleSegmentRepresentation.<init>() calling method android.net.Uri.parse()


    public Representation$SingleSegmentRepresentation(String p18, long p19, com.google.android.exoplayer2.Format p21, String p22, com.google.android.exoplayer2.source.dash.manifest.SegmentBase$SingleSegmentBase p23, java.util.List p24, String p25, long p26)
    {
        com.google.android.exoplayer2.source.dash.manifest.RangedUri v2_0;
        super(p18, p19, p21, p22, p23, p24, 0);
        super.uri = android.net.Uri.parse(p22);
        super.indexUri = p23.getIndex();
        com.google.android.exoplayer2.source.dash.manifest.SingleSegmentIndex v0_2 = 0;
        if (p25 == null) {
            if (p18 == null) {
                com.google.android.exoplayer2.Format v3 = p21;
                v2_0 = 0;
            } else {
                com.google.android.exoplayer2.source.dash.manifest.RangedUri v2_2 = new StringBuilder();
                v2_2.append(p18);
                v2_2.append(".");
                v2_2.append(p21.id);
                v2_2.append(".");
                v2_2.append(p19);
                v2_0 = v2_2.toString();
            }
        } else {
            v3 = p21;
            v2_0 = p25;
        }
        super.cacheKey = v2_0;
        super.contentLength = p26;
        if (super.indexUri == null) {
            com.google.android.exoplayer2.source.dash.manifest.RangedUri v2_4 = new com.google.android.exoplayer2.source.dash.manifest.RangedUri;
            v2_4(0, 0, p26);
            v0_2 = new com.google.android.exoplayer2.source.dash.manifest.SingleSegmentIndex(v2_4);
        }
        super.segmentIndex = v0_2;
        return;
    }

Method com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseMediaPresentationDescription() calling method android.net.Uri.parse()


    protected com.google.android.exoplayer2.source.dash.manifest.DashManifest parseMediaPresentationDescription(org.xmlpull.v1.XmlPullParser p40, String p41)
    {
        String v7_7;
        long v23 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDateTime(p40, "availabilityStartTime", -5e-324);
        com.google.android.exoplayer2.ParserException v4_0 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDuration(p40, "mediaPresentationDuration", -5e-324);
        long v25 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDuration(p40, "minBufferTime", -5e-324);
        int v1_3 = p40.getAttributeValue(0, "type");
        com.google.android.exoplayer2.ParserException v6_4 = 0;
        if ((v1_3 == 0) || (!"dynamic".equals(v1_3))) {
            v7_7 = 0;
        } else {
            v7_7 = 1;
        }
        double v12;
        int v27 = v7_7;
        if (v27 == 0) {
            v12 = -5e-324;
        } else {
            v12 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDuration(p40, "minimumUpdatePeriod", -5e-324);
        }
        double v14;
        if (v27 == 0) {
            v14 = -5e-324;
        } else {
            v14 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDuration(p40, "timeShiftBufferDepth", -5e-324);
        }
        double v16;
        if (v27 == 0) {
            v16 = -5e-324;
        } else {
            v16 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDuration(p40, "suggestedPresentationDelay", -5e-324);
        }
        long v9_4;
        long v28 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseDateTime(p40, "publishTime", -5e-324);
        int v11_1 = new java.util.ArrayList();
        if (v27 == 0) {
            v9_4 = 0;
        } else {
            v9_4 = -5e-324;
        }
        long v18_0 = 0;
        long v2_0 = v9_4;
        long v9_0 = 0;
        long v8_2 = 0;
        String v7_2 = p41;
        while(true) {
            double v37;
            String v35;
            boolean v36;
            int v1_2;
            int v32;
            long v38;
            int v33_0;
            p40.next();
            if (!com.google.android.exoplayer2.util.XmlPullParserUtil.isStartTag(p40, "BaseURL")) {
                if (!com.google.android.exoplayer2.util.XmlPullParserUtil.isStartTag(p40, "UTCTiming")) {
                    if (!com.google.android.exoplayer2.util.XmlPullParserUtil.isStartTag(p40, "Location")) {
                        if ((!com.google.android.exoplayer2.util.XmlPullParserUtil.isStartTag(p40, "Period")) || (v18_0 != 0)) {
                            v32 = v1_3;
                            v33_0 = v2_0;
                            v36 = v6_4;
                            v35 = v7_2;
                            v37 = v8_2;
                            v38 = v9_0;
                            v1_2 = v18_0;
                            v2_0 = v33_0;
                        } else {
                            v32 = v1_3;
                            int v1_6 = this.parsePeriod(p40, v7_2, v2_0);
                            long v2_3 = ((com.google.android.exoplayer2.source.dash.manifest.Period) v1_6.first);
                            v36 = v6_4;
                            v35 = v7_2;
                            if (v2_3.startMs != -5e-324) {
                                long v8_1;
                                com.google.android.exoplayer2.ParserException v6_12 = ((Long) v1_6.second).longValue();
                                if (v6_12 != -5e-324) {
                                    v37 = v8_2;
                                    v38 = v9_0;
                                    v8_1 = (v2_3.startMs + v6_12);
                                } else {
                                    v37 = v8_2;
                                    v38 = v9_0;
                                    v8_1 = -5e-324;
                                }
                                v11_1.add(v2_3);
                                v2_0 = v8_1;
                                v1_2 = v18_0;
                            } else {
                                if (v27 == 0) {
                                    break;
                                }
                                v1_2 = 1;
                                v37 = v8_2;
                                v38 = v9_0;
                            }
                        }
                    } else {
                        v9_0 = android.net.Uri.parse(p40.nextText());
                        v32 = v1_3;
                        v36 = v6_4;
                        v35 = v7_2;
                        v37 = v8_2;
                        v38 = v9_0;
                    }
                } else {
                    v8_2 = this.parseUtcTiming(p40);
                }
            } else {
                if (v6_4 != null) {
                    v32 = v1_3;
                    v33_0 = v2_0;
                    v36 = v6_4;
                    v35 = v7_2;
                    v37 = v8_2;
                    v38 = v9_0;
                } else {
                    v7_2 = com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.parseBaseUrl(p40, v7_2);
                    v6_4 = 1;
                }
            }
            if (!com.google.android.exoplayer2.util.XmlPullParserUtil.isEndTag(p40, "MPD")) {
                v18_0 = v1_2;
                v1_3 = v32;
                v7_2 = v35;
                v6_4 = v36;
                v8_2 = v37;
                v9_0 = v38;
            } else {
                if (v4_0 == -5e-324) {
                    if (v2_0 == -5e-324) {
                        if (v27 == 0) {
                            throw new com.google.android.exoplayer2.ParserException("Unable to determine duration of static manifest.");
                        }
                    } else {
                        v4_0 = v2_0;
                    }
                }
                if (v11_1.isEmpty()) {
                    throw new com.google.android.exoplayer2.ParserException("No periods found.");
                } else {
                    return this.buildMediaPresentationDescription(v23, v4_0, v25, v27, v12, v14, v16, v28, v37, v38, v11_1);
                }
            }
        }
        com.google.android.exoplayer2.ParserException v6_1 = new StringBuilder();
        v6_1.append("Unable to determine start of period ");
        v6_1.append(v11_1.size());
        throw new com.google.android.exoplayer2.ParserException(v6_1.toString());
    }

Method com.google.android.exoplayer2.offline.SegmentDownloadAction$SegmentDownloadActionDeserializer.readFromStream() calling method android.net.Uri.parse()


    public final com.google.android.exoplayer2.offline.DownloadAction readFromStream(int p9, java.io.DataInputStream p10)
    {
        android.net.Uri v0_1 = android.net.Uri.parse(p10.readUTF());
        boolean v1 = p10.readBoolean();
        byte[] v3 = new byte[p10.readInt()];
        p10.readFully(v3);
        int v4 = p10.readInt();
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        com.google.android.exoplayer2.offline.DownloadAction v6_0 = 0;
        while (v6_0 < v4) {
            v5_1.add(this.readKey(p10));
            v6_0++;
        }
        return this.createDownloadAction(v0_1, v1, v3, v5_1);
    }

Method com.google.android.exoplayer2.offline.ProgressiveDownloadAction$1.readFromStream() calling method android.net.Uri.parse()


    public com.google.android.exoplayer2.offline.ProgressiveDownloadAction readFromStream(int p7, java.io.DataInputStream p8)
    {
        int v4_1;
        android.net.Uri v0_1 = android.net.Uri.parse(p8.readUTF());
        boolean v1 = p8.readBoolean();
        byte[] v3 = new byte[p8.readInt()];
        p8.readFully(v3);
        if (!p8.readBoolean()) {
            v4_1 = 0;
        } else {
            v4_1 = p8.readUTF();
        }
        return new com.google.android.exoplayer2.offline.ProgressiveDownloadAction(v0_1, v1, v3, v4_1);
    }

Method com.google.android.exoplayer2.drm.HttpMediaDrmCallback.executePost() calling method android.net.Uri.parse()


    private static byte[] executePost(com.google.android.exoplayer2.upstream.HttpDataSource$Factory p16, String p17, byte[] p18, java.util.Map p19)
    {
        com.google.android.exoplayer2.upstream.HttpDataSource v1 = p16.createDataSource();
        if (p19 != null) {
            String v0_9 = p19.entrySet().iterator();
            while (v0_9.hasNext()) {
                java.util.Map$Entry v2_2 = ((java.util.Map$Entry) v0_9.next());
                v1.setRequestProperty(((String) v2_2.getKey()), ((String) v2_2.getValue()));
            }
        }
        int v3_0 = p17;
        String v0_0 = 0;
        while(true) {
            String v4_0 = v0_0;
            com.google.android.exoplayer2.upstream.DataSourceInputStream v6_1 = new com.google.android.exoplayer2.upstream.DataSourceInputStream(v1, new com.google.android.exoplayer2.upstream.DataSpec(android.net.Uri.parse(v3_0), p18, 0, 0, -1, 0, 1));
            String v0_4 = com.google.android.exoplayer2.util.Util.toByteArray(v6_1);
            com.google.android.exoplayer2.util.Util.closeQuietly(v6_1);
            return v0_4;
            com.google.android.exoplayer2.util.Util.closeQuietly(v6_1);
            v0_0 = String v7_4;
        }
        throw String v0_6;
    }

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


    public com.bumptech.glide.load.data.DataFetcher getResourceFetcher(String p3, int p4, int p5)
    {
        if (!android.text.TextUtils.isEmpty(p3)) {
            android.net.Uri v0_1;
            if (!p3.startsWith("/")) {
                v0_1 = android.net.Uri.parse(p3);
                if (v0_1.getScheme() == null) {
                    v0_1 = com.bumptech.glide.load.model.StringLoader.toFileUri(p3);
                }
            } else {
                v0_1 = com.bumptech.glide.load.model.StringLoader.toFileUri(p3);
            }
            return this.uriLoader.getResourceFetcher(v0_1, p4, p5);
        } else {
            return 0;
        }
    }

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


    public com.bumptech.glide.load.data.DataFetcher getResourceFetcher(Integer p7, int p8, int p9)
    {
        try {
            android.content.res.Resources$NotFoundException v2_2 = new StringBuilder();
            v2_2.append("android.resource://");
            v2_2.append(this.resources.getResourcePackageName(p7.intValue()));
            v2_2.append(47);
            v2_2.append(this.resources.getResourceTypeName(p7.intValue()));
            v2_2.append(47);
            v2_2.append(this.resources.getResourceEntryName(p7.intValue()));
            android.net.Uri v1 = android.net.Uri.parse(v2_2.toString());
        } catch (android.content.res.Resources$NotFoundException v2_4) {
            if (!android.util.Log.isLoggable("ResourceLoader", 5)) {
            } else {
                String v4_5 = new StringBuilder();
                v4_5.append("Received invalid resource id: ");
                v4_5.append(p7);
                android.util.Log.w("ResourceLoader", v4_5.toString(), v2_4);
            }
        }
        if (v1 == null) {
            return 0;
        } else {
            return this.uriLoader.getResourceFetcher(v1, p8, p9);
        }
    }

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


    private android.content.Intent createIntentFromSuggestion(android.database.Cursor p11, int p12, String p13)
    {
        try {
            String v1_1 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p11, "suggest_intent_action");
        } catch (String v1_2) {
            try {
                android.content.Intent v2_4 = p11.getPosition();
            } catch (android.content.Intent v2) {
                v2_4 = -1;
            }
            android.net.Uri v4_5 = new StringBuilder();
            v4_5.append("Search suggestions cursor at row ");
            v4_5.append(v2_4);
            v4_5.append(" returned exception.");
            android.util.Log.w("SearchView", v4_5.toString(), v1_2);
            return 0;
        }
        if (v1_1 == null) {
            v1_1 = this.mSearchable.getSuggestIntentAction();
        }
        if (v1_1 == null) {
            v1_1 = "android.intent.action.SEARCH";
        }
        android.content.Intent v2_2 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p11, "suggest_intent_data");
        if (v2_2 == null) {
            v2_2 = this.mSearchable.getSuggestIntentData();
        }
        if (v2_2 != null) {
            String v3_3 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p11, "suggest_intent_data_id");
            if (v3_3 != null) {
                android.net.Uri v4_1 = new StringBuilder();
                v4_1.append(v2_2);
                v4_1.append("/");
                v4_1.append(android.net.Uri.encode(v3_3));
                v2_2 = v4_1.toString();
            }
        }
        android.net.Uri v4_3;
        String v9 = v2_2;
        if (v9 != null) {
            v4_3 = android.net.Uri.parse(v9);
        } else {
            v4_3 = 0;
        }
        return this.createIntent(v1_1, v4_3, android.support.v7.widget.SuggestionsAdapter.getColumnString(p11, "suggest_intent_extra_data"), android.support.v7.widget.SuggestionsAdapter.getColumnString(p11, "suggest_intent_query"), p12, p13);
    }

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


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

Method com.microsoft.identity.common.adal.internal.util.StringExtensions.getUrlParameters() calling method android.net.Uri.parse()


    public static java.util.HashMap getUrlParameters(String p4)
    {
        android.net.Uri v0 = android.net.Uri.parse(p4);
        java.util.HashMap v2 = com.microsoft.identity.common.adal.internal.util.HashMapExtensions.urlFormDecode(v0.getFragment());
        if ((v2 == null) || (v2.isEmpty())) {
            v2 = com.microsoft.identity.common.adal.internal.util.HashMapExtensions.urlFormDecode(v0.getEncodedQuery());
        }
        return v2;
    }

Method com.microsoft.aad.adal.UserInfo.<init>() calling method android.net.Uri.parse()


    public UserInfo(com.microsoft.aad.adal.IdToken p6)
    {
        this.mUniqueId = 0;
        this.mDisplayableId = 0;
        if (com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(p6.getObjectId())) {
            if (!com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(p6.getSubject())) {
                this.mUniqueId = p6.getSubject();
            }
        } else {
            this.mUniqueId = p6.getObjectId();
        }
        if (com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(p6.getUpn())) {
            if (!com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(p6.getEmail())) {
                this.mDisplayableId = p6.getEmail();
            }
        } else {
            this.mDisplayableId = p6.getUpn();
        }
        this.mGivenName = p6.getGivenName();
        this.mFamilyName = p6.getFamilyName();
        this.mIdentityProvider = p6.getIdentityProvider();
        if (p6.getPasswordExpiration() > 0) {
            java.util.GregorianCalendar v1_17 = new java.util.GregorianCalendar();
            v1_17.add(13, ((int) p6.getPasswordExpiration()));
            this.mPasswordExpiresOn = v1_17.getTime();
        }
        this.mPasswordChangeUrl = 0;
        if (!com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(p6.getPasswordChangeUrl())) {
            this.mPasswordChangeUrl = android.net.Uri.parse(p6.getPasswordChangeUrl());
        }
        return;
    }

Method com.microsoft.aad.adal.StringExtensions.getUrlParameters() calling method android.net.Uri.parse()


    static java.util.HashMap getUrlParameters(String p4)
    {
        android.net.Uri v0 = android.net.Uri.parse(p4);
        java.util.HashMap v2 = com.microsoft.aad.adal.HashMapExtensions.urlFormDecode(v0.getFragment());
        if ((v2 == null) || (v2.isEmpty())) {
            v2 = com.microsoft.aad.adal.HashMapExtensions.urlFormDecode(v0.getEncodedQuery());
        }
        return v2;
    }

Method com.microsoft.aad.adal.Oauth2.getToken() calling method android.net.Uri.parse()


    public com.microsoft.aad.adal.AuthenticationResult getToken(String p10)
    {
        if (com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(p10)) {
            throw new IllegalArgumentException("authorizationUrl");
        } else {
            IllegalArgumentException v0_3 = com.microsoft.identity.common.adal.internal.util.StringExtensions.getUrlParameters(p10);
            String v2 = com.microsoft.aad.adal.Oauth2.decodeProtocolState(((String) v0_3.get("state")));
            if (com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(v2)) {
                throw new com.microsoft.aad.adal.AuthenticationException(com.microsoft.aad.adal.ADALError.AUTH_FAILED_NO_STATE);
            } else {
                com.microsoft.aad.adal.AuthenticationException v3_4 = new StringBuilder();
                v3_4.append("http://state/path?");
                v3_4.append(v2);
                com.microsoft.aad.adal.AuthenticationException v3_6 = android.net.Uri.parse(v3_4.toString());
                com.microsoft.aad.adal.ADALError v4_3 = v3_6.getQueryParameter("a");
                String v5_1 = v3_6.getQueryParameter("r");
                if ((com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(v4_3)) || ((com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(v5_1)) || (!v5_1.equalsIgnoreCase(this.mRequest.getResource())))) {
                    throw new com.microsoft.aad.adal.AuthenticationException(com.microsoft.aad.adal.ADALError.AUTH_FAILED_BAD_STATE);
                } else {
                    com.microsoft.aad.adal.AuthenticationResult v6_7 = this.processUIResponseParams(v0_3);
                    if ((v6_7 == null) || ((v6_7.getCode() == null) || (v6_7.getCode().isEmpty()))) {
                        return v6_7;
                    } else {
                        com.microsoft.aad.adal.AuthenticationResult v7_5 = this.getTokenForCode(v6_7.getCode());
                        if (com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(v6_7.getAuthority())) {
                            v7_5.setAuthority(this.mRequest.getAuthority());
                        } else {
                            v7_5.setAuthority(v6_7.getAuthority());
                        }
                        return v7_5;
                    }
                }
            }
        }
    }

Method com.microsoft.aad.adal.BasicWebViewClient.openLinkInBrowser() calling method android.net.Uri.parse()


    protected void openLinkInBrowser(String p5)
    {
        this.mCallingContext.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p5.replace("browser://", "https://"))));
        return;
    }

Method com.microsoft.aad.adal.BasicWebViewClient.logPageStartLoadingUrl() calling method android.net.Uri.parse()


    private void logPageStartLoadingUrl(String p8)
    {
        if (!android.text.TextUtils.isEmpty(p8)) {
            android.net.Uri v1_1 = android.net.Uri.parse(p8);
            if (!v1_1.isOpaque()) {
                if (!com.microsoft.identity.common.adal.internal.util.StringExtensions.isNullOrBlank(v1_1.getQueryParameter("code"))) {
                    String v5_1 = new StringBuilder();
                    v5_1.append(" Host: ");
                    v5_1.append(v1_1.getHost());
                    v5_1.append(" Path: ");
                    v5_1.append(v1_1.getPath());
                    v5_1.append(" Auth code is returned for the loading url.");
                    com.microsoft.aad.adal.Logger.v("BasicWebViewClient:logPageStartLoadingUrl", "Webview starts loading. ", v5_1.toString(), 0);
                } else {
                    String v5_4 = new StringBuilder();
                    v5_4.append(" Host: ");
                    v5_4.append(v1_1.getHost());
                    v5_4.append(" Path: ");
                    v5_4.append(v1_1.getPath());
                    v5_4.append(" Full loading url is: ");
                    v5_4.append(p8);
                    com.microsoft.aad.adal.Logger.v("BasicWebViewClient:logPageStartLoadingUrl", "Webview starts loading. ", v5_4.toString(), 0);
                }
                return;
            } else {
                String v5_7 = new StringBuilder();
                v5_7.append("Url: ");
                v5_7.append(p8);
                com.microsoft.aad.adal.Logger.v("BasicWebViewClient:logPageStartLoadingUrl", "onPageStarted: Non-hierarchical loading uri. ", v5_7.toString(), 0);
                return;
            }
        } else {
            com.microsoft.aad.adal.Logger.v("BasicWebViewClient:logPageStartLoadingUrl", "onPageStarted: Null url for page to load.");
            return;
        }
    }

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


    static zzi()
    {
        com.google.android.gms.internal.stable.zzi.CONTENT_URI = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.stable.zzi.zzagv = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.stable.zzi.zzagw = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.stable.zzi.zzagx = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.stable.zzi.zzagy = new java.util.concurrent.atomic.AtomicBoolean();
        com.google.android.gms.internal.stable.zzi.zzagz = new java.util.HashMap();
        com.google.android.gms.internal.stable.zzi.zzaha = new java.util.HashMap();
        com.google.android.gms.internal.stable.zzi.zzahb = new java.util.HashMap();
        com.google.android.gms.internal.stable.zzi.zzahc = new java.util.HashMap();
        String[] v0_16 = new String[0];
        com.google.android.gms.internal.stable.zzi.zzahf = v0_16;
        return;
    }

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


    public static android.net.Uri getQueryUri(String p2, boolean p3)
    {
        String v3_1;
        if (p3 == null) {
            v3_1 = "api";
        } else {
            v3_1 = "api_force_staging";
        }
        StringBuilder v1_2 = new StringBuilder(((String.valueOf(v3_1).length() + 42) + String.valueOf(p2).length()));
        v1_2.append("content://com.google.android.gms.chimera/");
        v1_2.append(v3_1);
        v1_2.append("/");
        v1_2.append(p2);
        return android.net.Uri.parse(v1_2.toString());
    }

Method com.google.android.gms.common.internal.GmsIntents.getPlayStoreUri() calling method android.net.Uri.parse()


    public static android.net.Uri getPlayStoreUri(String p2)
    {
        return android.net.Uri.parse("https://play.google.com/store/apps/details").buildUpon().appendQueryParameter("id", p2).build();
    }

Method com.google.android.gms.common.internal.GmsIntents.createShowProfileIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createShowProfileIntent(android.content.Context p3, String p4)
    {
        Object[] v1_1 = new Object[1];
        v1_1[0] = p4;
        return com.google.android.gms.common.internal.GmsIntents.zza(p3, android.net.Uri.parse(String.format("https://plus.google.com/%s/about", v1_1)));
    }

Method com.google.android.gms.common.internal.GmsIntents.createPlayStoreLightPurchaseFlowIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createPlayStoreLightPurchaseFlowIntent(android.content.Context p4, String p5, String p6)
    {
        android.content.Intent v0_1 = new android.content.Intent("com.android.vending.billing.PURCHASE");
        v0_1.addCategory("android.intent.category.DEFAULT");
        v0_1.setPackage("com.android.vending");
        if (!android.text.TextUtils.isEmpty(p5)) {
            v0_1.putExtra("authAccount", p5);
        }
        v0_1.putExtra("backend", 3);
        v0_1.putExtra("document_type", 1);
        v0_1.putExtra("full_docid", p6);
        v0_1.putExtra("backend_docid", p6);
        v0_1.putExtra("offer_type", 1);
        if (!com.google.android.gms.common.internal.GmsIntents.isIntentResolvable(p4.getPackageManager(), v0_1)) {
            v0_1 = new android.content.Intent("android.intent.action.VIEW");
            Object[] v2_1 = new Object[2];
            v2_1[0] = p6;
            v2_1[1] = Integer.valueOf(1);
            v0_1.setData(android.net.Uri.parse(String.format(java.util.Locale.US, "https://play.google.com/store/apps/details?id=%1$s&rdid=%1$s&rdot=%2$d", v2_1)));
            v0_1.setPackage("com.android.vending");
            v0_1.putExtra("use_direct_purchase", 1);
        }
        return v0_1;
    }

Method com.google.android.gms.common.internal.GmsIntents.createPlayStoreIntent() calling method android.net.Uri.parse()


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

Method com.google.android.gms.common.internal.GmsIntents.createPlayStoreGamesIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createPlayStoreGamesIntent(android.content.Context p3)
    {
        int v0_1 = new android.content.Intent("android.intent.action.VIEW");
        v0_1.setData(android.net.Uri.parse("http://play.google.com/store/apps/category/GAME"));
        v0_1.addFlags(524288);
        v0_1.setPackage("com.android.vending");
        if (p3.getPackageManager().resolveActivity(v0_1, 65536) != null) {
            return v0_1;
        } else {
            android.content.Intent v3_4 = new android.content.Intent(v0_1.getAction(), v0_1.getData());
            v3_4.setFlags(v0_1.getFlags());
            return v3_4;
        }
    }

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


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

Method com.google.android.exoplayer2.util.UriUtil.resolveToUri() calling method android.net.Uri.parse()


    public static android.net.Uri resolveToUri(String p1, String p2)
    {
        return android.net.Uri.parse(com.google.android.exoplayer2.util.UriUtil.resolve(p1, p2));
    }

Method com.google.android.exoplayer2.upstream.cache.ContentMetadataInternal.getRedirectedUri() calling method android.net.Uri.parse()


    public static android.net.Uri getRedirectedUri(com.google.android.exoplayer2.upstream.cache.ContentMetadata p3)
    {
        android.net.Uri v1 = 0;
        String v0_1 = p3.get("exo_redir", ((String) 0));
        if (v0_1 != null) {
            v1 = android.net.Uri.parse(v0_1);
        }
        return v1;
    }

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


    public android.support.v4.media.MediaDescriptionCompat getDescription()
    {
        if (this.mDescription == null) {
            String v0_3 = this.getString("android.media.metadata.MEDIA_ID");
            CharSequence[] v1_1 = new CharSequence[3];
            android.graphics.Bitmap v2 = 0;
            android.net.Uri v3 = 0;
            CharSequence v4_0 = this.getText("android.media.metadata.DISPLAY_TITLE");
            if (android.text.TextUtils.isEmpty(v4_0)) {
                String v9_0 = 0;
                android.net.Uri v5_2 = 0;
                while ((v9_0 < v1_1.length) && (v5_2 < android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER.length)) {
                    long v11_2 = (v5_2 + 1);
                    android.net.Uri v5_4 = this.getText(android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER[v5_2]);
                    if (!android.text.TextUtils.isEmpty(v5_4)) {
                        android.support.v4.media.MediaDescriptionCompat$Builder v10_5 = (v9_0 + 1);
                        v1_1[v9_0] = v5_4;
                        v9_0 = v10_5;
                    }
                    v5_2 = v11_2;
                }
            } else {
                v1_1[0] = v4_0;
                v1_1[1] = this.getText("android.media.metadata.DISPLAY_SUBTITLE");
                v1_1[2] = this.getText("android.media.metadata.DISPLAY_DESCRIPTION");
            }
            android.net.Uri v5_9 = 0;
            while (v5_9 < android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER.length) {
                String v9_5 = this.getBitmap(android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER[v5_9]);
                if (v9_5 == null) {
                    v5_9++;
                } else {
                    v2 = v9_5;
                    break;
                }
            }
            android.net.Uri v5_10 = 0;
            while (v5_10 < android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER.length) {
                String v9_10 = this.getString(android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER[v5_10]);
                if (android.text.TextUtils.isEmpty(v9_10)) {
                    v5_10++;
                } else {
                    v3 = android.net.Uri.parse(v9_10);
                    break;
                }
            }
            android.net.Uri v5_11 = 0;
            String v9_12 = this.getString("android.media.metadata.MEDIA_URI");
            if (!android.text.TextUtils.isEmpty(v9_12)) {
                v5_11 = android.net.Uri.parse(v9_12);
            }
            android.support.v4.media.MediaDescriptionCompat$Builder v10_9 = new android.support.v4.media.MediaDescriptionCompat$Builder();
            v10_9.setMediaId(v0_3);
            v10_9.setTitle(v1_1[0]);
            v10_9.setSubtitle(v1_1[1]);
            v10_9.setDescription(v1_1[2]);
            v10_9.setIconBitmap(v2);
            v10_9.setIconUri(v3);
            v10_9.setMediaUri(v5_11);
            android.os.Bundle v6_3 = new android.os.Bundle();
            if (this.mBundle.containsKey("android.media.metadata.BT_FOLDER_TYPE")) {
                v6_3.putLong("android.media.extra.BT_FOLDER_TYPE", this.getLong("android.media.metadata.BT_FOLDER_TYPE"));
            }
            if (this.mBundle.containsKey("android.media.metadata.DOWNLOAD_STATUS")) {
                v6_3.putLong("android.media.extra.DOWNLOAD_STATUS", this.getLong("android.media.metadata.DOWNLOAD_STATUS"));
            }
            if (!v6_3.isEmpty()) {
                v10_9.setExtras(v6_3);
            }
            this.mDescription = v10_9.build();
            return this.mDescription;
        } else {
            return this.mDescription;
        }
    }

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


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

Method dev.jci.mwp.activities.TermsAndConditionActivity.setWebView() calling method android.webkit.WebView.setWebViewClient()


    private final void setWebView()
    {
        int v0_3 = this.findViewById(2131362600);
        if (v0_3 == 0) {
            throw new kotlin.TypeCastException("null cannot be cast to non-null type android.webkit.WebView");
        } else {
            int v0_2;
            this.mWebView = ((android.webkit.WebView) v0_3);
            int v0_1 = this.mWebView;
            if (v0_1 == 0) {
                v0_2 = 0;
            } else {
                v0_2 = v0_1.getSettings();
            }
            if (v0_2 != 0) {
                android.webkit.WebView v3_0 = v0_2;
                v3_0.setAllowContentAccess(1);
                v3_0.setJavaScriptEnabled(1);
                v3_0.setLoadWithOverviewMode(0);
                v3_0.setLoadsImagesAutomatically(1);
                v3_0.setDomStorageEnabled(1);
            }
            android.webkit.WebView v3_1 = this.mWebView;
            if (v3_1 != null) {
                v3_1.setHorizontalScrollBarEnabled(0);
                String v1_1 = v3_1.getSettings();
                if (v1_1 != null) {
                    v1_1.setJavaScriptEnabled(1);
                }
                v3_1.setWebViewClient(((android.webkit.WebViewClient) new dev.jci.mwp.activities.TermsAndConditionActivity$setWebView$$inlined$apply$lambda$1(this)));
                if (!this.isTermsOfUseClicked) {
                    v3_1.loadUrl("http://www.johnsoncontrols.com/buildings/legal/digital/generaleula");
                } else {
                    v3_1.loadUrl("http://www.johnsoncontrols.com/buildings/legal/digital/generaleula");
                }
            }
            return;
        }
    }

Method com.microsoft.aad.adal.AuthenticationDialog$1.run() calling method android.webkit.WebView.setWebViewClient()


    public void run()
    {
        android.view.LayoutInflater v0_3 = ((android.view.LayoutInflater) com.microsoft.aad.adal.AuthenticationDialog.access$000(this.this$0).getSystemService("layout_inflater"));
        android.app.AlertDialog$Builder v1_0 = new android.app.AlertDialog$Builder(com.microsoft.aad.adal.AuthenticationDialog.access$000(this.this$0));
        try {
            android.view.View v4_1 = v0_3.inflate(com.microsoft.aad.adal.AuthenticationDialog.access$100(this.this$0, "dialog_authentication", "layout"), 0);
        } catch (android.app.Dialog v5_33) {
            com.microsoft.aad.adal.Logger.e("AuthenticationDialog", "Failed to inflate authentication dialog", "", com.microsoft.aad.adal.ADALError.DEVELOPER_DIALOG_INFLATION_ERROR, v5_33);
        }
        if (v4_1 != null) {
            com.microsoft.aad.adal.AuthenticationDialog.access$202(this.this$0, ((android.webkit.WebView) v4_1.findViewById(com.microsoft.aad.adal.AuthenticationDialog.access$100(this.this$0, "com_microsoft_aad_adal_webView1", "id"))));
        }
        if (com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0) != null) {
            if (!com.microsoft.aad.adal.AuthenticationSettings.INSTANCE.getDisableWebViewHardwareAcceleration()) {
                com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).setLayerType(1, 0);
                com.microsoft.aad.adal.Logger.d("AuthenticationDialog:show", "Hardware acceleration is disabled in WebView");
            }
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setJavaScriptEnabled(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).requestFocus(130);
            String v3_14 = com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().getUserAgentString();
            android.app.Dialog v5_45 = com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings();
            String v7_13 = new StringBuilder();
            v7_13.append(v3_14);
            v7_13.append(" PKeyAuth/1.0");
            v5_45.setUserAgentString(v7_13.toString());
            String v3_15 = com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().getUserAgentString();
            String v7_16 = new StringBuilder();
            v7_16.append("UserAgent:");
            v7_16.append(v3_15);
            com.microsoft.aad.adal.Logger.v("AuthenticationDialog:show", v7_16.toString());
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).setOnTouchListener(new com.microsoft.aad.adal.AuthenticationDialog$1$2(this));
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setLoadWithOverviewMode(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setDomStorageEnabled(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setUseWideViewPort(1);
            com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).getSettings().setBuiltInZoomControls(1);
            try {
                String v7_5 = new com.microsoft.aad.adal.Oauth2(com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0)).getCodeRequestUrl();
                com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).setWebViewClient(new com.microsoft.aad.adal.AuthenticationDialog$DialogWebViewClient(this.this$0, com.microsoft.aad.adal.AuthenticationDialog.access$000(this.this$0), com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0).getRedirectUri(), com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0)));
                com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$0).post(new com.microsoft.aad.adal.AuthenticationDialog$1$3(this, v7_5));
            } catch (android.app.Dialog v5_16) {
                com.microsoft.aad.adal.Logger.e("AuthenticationDialog:show", "Encoding error", "", com.microsoft.aad.adal.ADALError.ENCODING_IS_NOT_SUPPORTED, v5_16);
            }
            v1_0.setView(v4_1).setCancelable(1);
            v1_0.setOnCancelListener(new com.microsoft.aad.adal.AuthenticationDialog$1$4(this));
            com.microsoft.aad.adal.AuthenticationDialog.access$602(this.this$0, v1_0.create());
            com.microsoft.aad.adal.Logger.i("AuthenticationDialog:show", "Showing authenticationDialog", "");
            com.microsoft.aad.adal.AuthenticationDialog.access$600(this.this$0).show();
            return;
        } else {
            com.microsoft.aad.adal.Logger.e("AuthenticationDialog:show", "Expected resource name for webview is com_microsoft_aad_adal_webView1. It is not in your layout file", "", com.microsoft.aad.adal.ADALError.DEVELOPER_DIALOG_LAYOUT_INVALID);
            String v3_4 = new android.content.Intent();
            v3_4.putExtra("com.microsoft.aad.adal:RequestId", com.microsoft.aad.adal.AuthenticationDialog.access$300(this.this$0).getRequestId());
            com.microsoft.aad.adal.AuthenticationDialog.access$400(this.this$0).onActivityResult(1001, 2001, v3_4);
            if (com.microsoft.aad.adal.AuthenticationDialog.access$500(this.this$0) != null) {
                com.microsoft.aad.adal.AuthenticationDialog.access$500(this.this$0).post(new com.microsoft.aad.adal.AuthenticationDialog$1$1(this));
            }
            return;
        }
    }

Method com.microsoft.aad.adal.AuthenticationActivity.setupWebView() calling method android.webkit.WebView.setWebViewClient()


    private void setupWebView()
    {
        this.mWebView.getSettings().setJavaScriptEnabled(1);
        this.mWebView.requestFocus(130);
        this.mWebView.setOnTouchListener(new com.microsoft.aad.adal.AuthenticationActivity$2(this));
        this.mWebView.getSettings().setLoadWithOverviewMode(1);
        this.mWebView.getSettings().setDomStorageEnabled(1);
        this.mWebView.getSettings().setUseWideViewPort(1);
        this.mWebView.getSettings().setBuiltInZoomControls(1);
        this.mWebView.setWebViewClient(new com.microsoft.aad.adal.AuthenticationActivity$CustomWebViewClient(this));
        this.mWebView.setVisibility(4);
        return;
    }

Method dev.jci.mwp.activities.TermsAndConditionActivity.setWebView() calling method android.webkit.WebView.loadUrl()


    private final void setWebView()
    {
        int v0_3 = this.findViewById(2131362600);
        if (v0_3 == 0) {
            throw new kotlin.TypeCastException("null cannot be cast to non-null type android.webkit.WebView");
        } else {
            int v0_2;
            this.mWebView = ((android.webkit.WebView) v0_3);
            int v0_1 = this.mWebView;
            if (v0_1 == 0) {
                v0_2 = 0;
            } else {
                v0_2 = v0_1.getSettings();
            }
            if (v0_2 != 0) {
                android.webkit.WebView v3_0 = v0_2;
                v3_0.setAllowContentAccess(1);
                v3_0.setJavaScriptEnabled(1);
                v3_0.setLoadWithOverviewMode(0);
                v3_0.setLoadsImagesAutomatically(1);
                v3_0.setDomStorageEnabled(1);
            }
            android.webkit.WebView v3_1 = this.mWebView;
            if (v3_1 != null) {
                v3_1.setHorizontalScrollBarEnabled(0);
                String v1_1 = v3_1.getSettings();
                if (v1_1 != null) {
                    v1_1.setJavaScriptEnabled(1);
                }
                v3_1.setWebViewClient(((android.webkit.WebViewClient) new dev.jci.mwp.activities.TermsAndConditionActivity$setWebView$$inlined$apply$lambda$1(this)));
                if (!this.isTermsOfUseClicked) {
                    v3_1.loadUrl("http://www.johnsoncontrols.com/buildings/legal/digital/generaleula");
                } else {
                    v3_1.loadUrl("http://www.johnsoncontrols.com/buildings/legal/digital/generaleula");
                }
            }
            return;
        }
    }

Method com.microsoft.aad.adal.BasicWebViewClient$3$1.run() calling method android.webkit.WebView.loadUrl()


    public void run()
    {
        String v0_1 = this.val$challengeResponse.getSubmitUrl();
        String v3_2 = new StringBuilder();
        v3_2.append("Challenge submit url:");
        v3_2.append(this.val$challengeResponse.getSubmitUrl());
        com.microsoft.aad.adal.Logger.v("BasicWebViewClient:shouldOverrideUrlLoading", "Respond to pkeyAuth challenge", v3_2.toString(), 0);
        this.this$1.val$view.loadUrl(v0_1, this.val$headers);
        return;
    }

Method com.microsoft.aad.adal.AuthenticationDialog$1$3.run() calling method android.webkit.WebView.loadUrl()


    public void run()
    {
        com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$1.this$0).loadUrl("about:blank");
        com.microsoft.aad.adal.AuthenticationDialog.access$200(this.this$1.this$0).loadUrl(this.val$startUrl);
        return;
    }

Method com.microsoft.aad.adal.AuthenticationActivity$1.run() calling method android.webkit.WebView.loadUrl()


    public void run()
    {
        com.microsoft.aad.adal.Logger.v("AuthenticationActivity:onCreate", "Launching webview for acquiring auth code.");
        com.microsoft.aad.adal.AuthenticationActivity.access$200(this.this$0).loadUrl("about:blank");
        com.microsoft.aad.adal.AuthenticationActivity.access$200(this.this$0).loadUrl(this.val$postUrl);
        return;
    }