|
|
|
@ -65,15 +65,6 @@ Java_eu_faircode_email_ThrowableWrapper_jni_1get_1safe_1stack_1trace_1string(
|
|
|
|
|
return (jstring) env->CallStaticObjectMethod(cls, mid, ex);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
extern "C"
|
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
|
|
|
Java_eu_faircode_email_Log_jni_1safe_1mkdirs(JNIEnv *env, jclass clazz,
|
|
|
|
|
jobject file) {
|
|
|
|
|
jclass cls = env->FindClass("java/io/File");
|
|
|
|
|
jmethodID mid = env->GetMethodID(cls, "mkdirs", "()Z");
|
|
|
|
|
return (jboolean) env->CallBooleanMethod(file, mid);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
extern "C"
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_eu_faircode_email_Log_jni_1safe_1write(JNIEnv *env, jclass clazz,
|
|
|
|
|