Skip to content

Commit fad984e

Browse files
committed
Fix android compilation to new call
1 parent 13a5d06 commit fad984e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpacityCore/src/main/cpp/OpacityCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Java_com_opacitylabs_opacitycore_OpacityCore_getNative(JNIEnv *env,
300300
extern "C" JNIEXPORT jstring JNICALL
301301
Java_com_opacitylabs_opacitycore_OpacityCore_getSdkVersions(JNIEnv *env,
302302
jobject thiz) {
303-
const char *res = opacity_core::get_sdk_versions();
303+
const char *res = opacity_core::get_api_version();
304304
jstring jres = env->NewStringUTF(res);
305305
// opacity_core::free_string(res);
306306
return jres;

0 commit comments

Comments
 (0)