From 78c7e0022ad4350c6666f9c7fa88213eb475ebad Mon Sep 17 00:00:00 2001 From: RH Date: Thu, 4 Jul 2024 23:17:09 +1000 Subject: [PATCH] Fix call to incorrect java method (#2015) --- core/ui/UIWebView/UIWebViewImpl-android.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ui/UIWebView/UIWebViewImpl-android.cpp b/core/ui/UIWebView/UIWebViewImpl-android.cpp index 1ce6a56bb3e1..075f6c7da6a2 100644 --- a/core/ui/UIWebView/UIWebViewImpl-android.cpp +++ b/core/ui/UIWebView/UIWebViewImpl-android.cpp @@ -208,7 +208,7 @@ void WebViewImpl::loadData(const Data& data, std::string_view baseURL) { std::string dataString(reinterpret_cast(data.getBytes()), static_cast(data.getSize())); - JniHelper::callStaticVoidMethod(className, "setJavascriptInterfaceScheme", _viewTag, dataString, MIMEType, encoding, + JniHelper::callStaticVoidMethod(className, "loadData", _viewTag, dataString, MIMEType, encoding, baseURL); }