Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 2762c7c

Browse files
committed
[[ BrowserWidget ]] Allow empty return value from Android webview getUrl()
1 parent 5394a42 commit 2762c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libbrowser/src/libbrowser_android.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class MCAndroidWebViewBrowser : public MCBrowserBase
748748

749749
MCAndroidObjectRemoteCall(m_view, "getUrl", "s", &t_url);
750750
if (t_url == nil)
751-
return false;
751+
return MCCStringClone("", r_utf8_string);
752752

753753
r_utf8_string = t_url;
754754
return true;

0 commit comments

Comments
 (0)