Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YZBaseWebView中重置了ApplicationInfo的flags值 #29

Open
yangdibo2016 opened this issue Jun 8, 2020 · 0 comments
Open

YZBaseWebView中重置了ApplicationInfo的flags值 #29

yangdibo2016 opened this issue Jun 8, 2020 · 0 comments

Comments

@yangdibo2016
Copy link

查看源码发现initSettings方法中对ApplicationInfo.flags重新赋值为2

 `//是否开启chrome debug 模式
        if (Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT) {
            if (0 != (context.getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE)) {
                WebView.setWebContentsDebuggingEnabled(true);
            }
        }`

库:x5web
版本:2.0.23
会导致View的paddingStart和paddingEnd在某些极端场景下显示异常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant