We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80c0db commit a39bca0Copy full SHA for a39bca0
Android/dokit/src/main/java/com/didichuxing/doraemonkit/util/DokitDeviceUtils.java
@@ -414,7 +414,7 @@ public static String getWebViewChromeVersion(Context context) {
414
WebView webView = new WebView(context);
415
String userAgentString = webView.getSettings().getUserAgentString();
416
webView.destroy();
417
- List<String> matches = RegexUtils.getMatches("(?<=Chrome/)[.0-9]* (?=Mobile)", userAgentString);
+ List<String> matches = RegexUtils.getMatches("(?<=Chrome/)[.0-9]*(?= Mobile)", userAgentString);
418
if (matches.isEmpty()) {
419
return null;
420
} else {
0 commit comments