Skip to content

Commit

Permalink
fix android openUrlInDefaultBrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Aug 14, 2023
1 parent f14a6b8 commit 38621e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Environment/Android/AndroidEnvironmentService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ namespace Mengine

jstring jurl = jenv->NewStringUTF( _url );

jboolean jresult = this->callIntActivityMethod( jenv, "linkingOpenURL", "(Ljava/lang/String;)Z", jurl );
jboolean jresult = this->callBooleanActivityMethod( jenv, "linkingOpenURL", "(Ljava/lang/String;)Z", jurl );

jenv->DeleteLocalRef( jurl );

Expand Down

0 comments on commit 38621e5

Please sign in to comment.