pull/214/head
M66B 1 year ago
parent 125a47efd8
commit 82883b640a

@ -243,8 +243,6 @@ public class Log {
public static native int jni_safe_log(int prio, String tag, String msg);
public static native boolean jni_safe_mkdirs(File file);
public static native void jni_safe_write(OutputStream os, byte[] data);
public static native long[] jni_safe_runtime_stats();

@ -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,

Loading…
Cancel
Save