We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b42ac6 commit aa99aefCopy full SHA for aa99aef
library/src/main/cpp/util.cpp
@@ -54,7 +54,7 @@ namespace util {
54
session::config::profile_pic deserialize_user_pic(JNIEnv *env, jobject user_pic) {
55
jni_utils::JavaLocalRef clazz(env, env->GetObjectClass(user_pic));
56
return {
57
- jni_utils::JavaStringRef(env, (jstring) (env->CallObjectMethod(user_pic, env->GetMethodID(clazz.get(), "getUrl", "Ljava/lang/String;")))).view(),
+ jni_utils::JavaStringRef(env, (jstring) (env->CallObjectMethod(user_pic, env->GetMethodID(clazz.get(), "getUrl", "()Ljava/lang/String;")))).view(),
58
util::vector_from_bytes(env, static_cast<jbyteArray>(env->CallObjectMethod(user_pic, env->GetMethodID(clazz.get(), "getKeyAsByteArray", "()[B"))))
59
};
60
}
0 commit comments