admin
2022-05-05 355fe96b2a4c7821256d9e8828d2cb9539904878
android/app/src/main/java/com/yeshi/makemoney/video/app/ui/common/BrowserActivity.java
@@ -69,15 +69,6 @@
                if (url.startsWith("weixin://") || url.startsWith("alipay://")) {
                } else if (!url.startsWith("http")) {
                    if (jumpOutProtocolSet != null) {
                        for (String prefix : jumpOutProtocolSet) {
                            if (url.startsWith(prefix)) {
                                Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
                                startActivity(intent);
                                return true;
                            }
                        }
                    }
                    return true;
                }
                return super.shouldOverrideUrlLoading(view, url);
@@ -200,8 +191,6 @@
    private String wholeTitle;
    private Set<String> jumpOutProtocolSet;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
@@ -221,7 +210,6 @@
        progressBar.setProgressDrawable(this.getResources()
                .getDrawable(R.drawable.color_progressbar));
        initX5WebView();
        jumpOutProtocolSet = AppConfigUtil.getBrowserJumpOutProtocolPrefix(getApplicationContext());
        webview.loadUrl(getIntent().getStringExtra("url"));
        wholeTitle = getIntent().getStringExtra("title");
        if (!StringUtils.isEmpty(wholeTitle)) {