Skip to content

Commit

Permalink
Update no-op WebMessageListener WebView version check (#4636)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshliebe authored Jun 11, 2024
1 parent f0f6d82 commit c86b48c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ class BrowserTabFragment :
val (isFeatureEnabled, isSupportedWebViewVersion) = withContext(dispatchers.io()) {
val isFeatureEnabled = dummyWebMessageListenerFeature.self().isEnabled()
val isSupportedWebViewVersion = webViewVersionProvider.getFullVersion()
.compareSemanticVersion(WEB_MESSAGE_LISTENER_WEBVIEW_VERSION)?.let { it > 0 } ?: false
.compareSemanticVersion(WEB_MESSAGE_LISTENER_WEBVIEW_VERSION)?.let { it >= 0 } ?: false
Pair(isFeatureEnabled, isSupportedWebViewVersion)
}

Expand Down

0 comments on commit c86b48c

Please sign in to comment.