url: put the Android bits in core/android
This commit is contained in:
1 parent
efd665e2c7
commit
2d82cf78e1
3 files changed
+13
-5
No files matched your search
@@ -25,11 +25,7 @@
|
||||
int
|
||||
SDL_SYS_OpenURL(const char *url)
|
||||
{
|
||||
JNIEnv *env = Android_JNI_GetEnv();
|
||||
jstring jurl = (*env)->NewStringUTF(env, url);
|
||||
const int ret = (*env)->CallStaticIntMethod(env, mActivityClass, midOpenURL, jurl);
|
||||
(*env)->DeleteLocalRef(env, jurl);
|
||||
return ret;
|
||||
return Android_JNI_OpenURL(url);
|
||||
}
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
Reference in new issue
Block a user