summaryrefslogtreecommitdiff
path: root/src/porting_android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/porting_android.cpp')
-rw-r--r--src/porting_android.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/porting_android.cpp b/src/porting_android.cpp
index 41b521ec2..f5870c174 100644
--- a/src/porting_android.cpp
+++ b/src/porting_android.cpp
@@ -213,13 +213,13 @@ void showInputDialog(const std::string &acceptButton, const std::string &hint,
jacceptButton, jhint, jcurrent, jeditType);
}
-void openURLAndroid(const std::string &url)
+void openURIAndroid(const std::string &url)
{
- jmethodID url_open = jnienv->GetMethodID(nativeActivity, "openURL",
+ jmethodID url_open = jnienv->GetMethodID(nativeActivity, "openURI",
"(Ljava/lang/String;)V");
FATAL_ERROR_IF(url_open == nullptr,
- "porting::openURLAndroid unable to find java openURL method");
+ "porting::openURIAndroid unable to find java openURI method");
jstring jurl = jnienv->NewStringUTF(url.c_str());
jnienv->CallVoidMethod(app_global->activity->clazz, url_open, jurl);