Skip to content

Commit

Permalink
Update System.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
MAJigsaw77 authored Oct 30, 2024
1 parent 6de4b67 commit 45d0826
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lime/system/System.hx
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,7 @@ class System
#elseif flash
Lib.getURL(new URLRequest(url), target);
#elseif android
var openURL = JNI.createStaticMethod("org/haxe/lime/GameActivity", "openURL", "(Ljava/lang/String;Ljava/lang/String;)V");
openURL(url, target);
JNI.createStaticMethod("org/libsdl/app/SDLActivity", "openURL", "(Ljava/lang/String;)I")(url);
#elseif (lime_cffi && !macro)
NativeCFFI.lime_system_open_url(url, target);
#end
Expand Down

0 comments on commit 45d0826

Please sign in to comment.