From 9d8c825cbc2c3090cbe0dfca3e919a32e62a48c5 Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Fri, 1 Feb 2013 16:40:12 +0200 Subject: [PATCH] Remove debug code --- classpath/java-io.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/classpath/java-io.cpp b/classpath/java-io.cpp index 580efe96d2..bb1adce8b3 100644 --- a/classpath/java-io.cpp +++ b/classpath/java-io.cpp @@ -700,9 +700,6 @@ Java_java_io_FileOutputStream_open(JNIEnv* e, jclass, jstring path, jboolean app return -1; } } -#ifdef __ANDROID__ -#include -#endif extern "C" JNIEXPORT void JNICALL Java_java_io_FileOutputStream_write__II(JNIEnv* e, jclass, jint fd, jint c) @@ -723,11 +720,6 @@ Java_java_io_FileOutputStream_write__I_3BII } e->GetByteArrayRegion(b, offset, length, data); - #ifdef __ANDROID__ - if(fd == 1) { - __android_log_print(ANDROID_LOG_WARN, "net.osmand:native", "%.*s",length, data); - } - #endif if (not e->ExceptionCheck()) { doWrite(e, fd, data, length); }