protected void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        if (p4 == 100) {
            if (p5 == 200) {
                this.isReload = p6.getBooleanExtra(is_reload, 0);
                if (this.isReload) {
                    this.webView.loadUrl(javascript:loadPage());
                }
            }
        } else {
            switch (p4) {
                case 1:
                    if (p5 == -1) {
                        try {
                            android.webkit.ValueCallback v4_5 = xtbg.oa_app.utils.FileUtils.getImgPath(this.imgFileName);
                            String v5_4 = this.getSmallBitmap(v4_5);
                            StringBuilder v6_5 = new java.io.FileOutputStream(v4_5);
                            v5_4.compress(android.graphics.Bitmap$CompressFormat.JPEG, this.getImgQuality(), v6_5);
                            v6_5.flush();
                            v6_5.close();
                            v5_4.recycle();
                            String v5_5 = this.webView;
                            StringBuilder v6_7 = new StringBuilder();
                            v6_7.append(javascript:setImg('http://androidimg);
                            v6_7.append(v4_5);
                            v6_7.append('));
                            v5_5.loadUrl(v6_7.toString());
                        } catch (android.webkit.ValueCallback v4_8) {
                            v4_8.printStackTrace();
                        }
                    }
                    break;
                case 2:
                    if ((p5 == -1) && (p6 != null)) {
                        android.webkit.ValueCallback v4_29;
                        if (!p6.getDataString().contains(content)) {
                            v4_29 = p6.getDataString().replace(file://, );
                        } else {
                            v4_29 = xtbg.oa_app.utils.FileUtils.getRealPathFromURI(this, p6.getData());
                        }
                        try {
                            android.webkit.ValueCallback v4_32 = this.getSmallBitmap(v4_29);
                            String v5_12 = xtbg.oa_app.utils.FileUtils.createImgPath(this.imgFileName);
                            StringBuilder v6_1 = new java.io.FileOutputStream(v5_12);
                            v4_32.compress(android.graphics.Bitmap$CompressFormat.JPEG, this.getImgQuality(), v6_1);
                            v6_1.flush();
                            v6_1.close();
                            v4_32.recycle();
                            android.webkit.ValueCallback v4_1 = this.webView;
                            StringBuilder v6_3 = new StringBuilder();
                            v6_3.append(javascript:setImg('http://androidimg);
                            v6_3.append(v5_12);
                            v6_3.append('));
                            v4_1.loadUrl(v6_3.toString());
                        } catch (android.webkit.ValueCallback v4_3) {
                            v4_3.printStackTrace();
                        }
                    }
                    break;
                case 3:
                    if (p5 != -1) {
                        if (this.uploadMessageAboveL == null) {
                            if (this.uploadMessage != null) {
                                this.uploadMessage.onReceiveValue(0);
                                this.uploadMessage = 0;
                            }
                        } else {
                            this.uploadMessageAboveL.onReceiveValue(0);
                            this.uploadMessageAboveL = 0;
                        }
                    } else {
                        if ((this.uploadMessage != null) || (this.uploadMessageAboveL != null)) {
                            String v0_10;
                            if (p6 != null) {
                                v0_10 = p6.getData();
                            } else {
                                v0_10 = 0;
                            }
                            if (this.uploadMessageAboveL == null) {
                                if (this.uploadMessage != null) {
                                    this.uploadMessage.onReceiveValue(v0_10);
                                    this.uploadMessage = 0;
                                }
                            } else {
                                this.onActivityResultAboveL(p4, p5, p6);
                            }
                        } else {
                            return;
                        }
                    }
                case 4:
                    if (p5 == -1) {
                        android.webkit.ValueCallback v4_15 = p6.getStringExtra(result_file_path);
                        String v5_7 = this.webView;
                        StringBuilder v6_11 = new StringBuilder();
                        v6_11.append(javascript:upFile('http://androidimg);
                        v6_11.append(v4_15);
                        v6_11.append('));
                        v5_7.loadUrl(v6_11.toString());
                    }
                    break;
                case 5:
                    if (p5 == -1) {
                        android.webkit.ValueCallback v4_11 = xtbg.oa_app.utils.FileUtils.getRealPathFromURI(this, p6.getData());
                        String v5_6 = this.webView;
                        StringBuilder v6_9 = new StringBuilder();
                        v6_9.append(javascript:upFile('http://androidimg);
                        v6_9.append(v4_11);
                        v6_9.append('));
                        v5_6.loadUrl(v6_9.toString());
                    }
                    break;
                default:
            }
        }
        return;
    }