| 6 | bool callback(const google_breakpad::MinidumpDescriptor &descriptor, void *context, bool succeeded) { |
| 7 | printf("dump path: %s\n", descriptor.path()); |
| 8 | return succeeded; |
| 9 | }*/ |
| 10 |
| 11 | extern "C" { |
| 12 | void Java_org_telegram_messenger_NativeLoader_init(JNIEnv* env, jobject obj, jstring filepath, bool enable) { |
| 13 | return; |
| 14 | /*if (enable) { |
| 15 | const char *path = env->GetStringUTFChars(filepath, 0); |
| 16 | google_breakpad::MinidumpDescriptor descriptor(path); |
| 17 | exceptionHandler = new google_breakpad::ExceptionHandler(descriptor, NULL, callback, NULL, true, -1); |
| 18 | }*/ |
| 19 | } |
| 20 | } |
| 21 |