copying branch over from other 2013 repo
diff --git a/aos/atom_code/camera/jni.cpp b/aos/atom_code/camera/jni.cpp
index 7b7eafa..ad5177a 100644
--- a/aos/atom_code/camera/jni.cpp
+++ b/aos/atom_code/camera/jni.cpp
@@ -3,6 +3,8 @@
#include "jni/aos_Natives.h"
#include "aos/atom_code/camera/Buffers.h"
#include "aos/externals/libjpeg/include/jpeglib.h"
+#include "aos/common/logging/logging_impl.h"
+#include "aos/atom_code/init.h"
using aos::camera::Buffers;
@@ -248,8 +250,8 @@
} else {
level = DEBUG;
}
- // can't use Get/ReleaseStringCritical because log_do might block waiting to
- // put its message into the queue
+ // Can't use Get/ReleaseStringCritical because log_do might block waiting to
+ // put its message into the queue.
const char *const message_chars = env->GetStringUTFChars(message, NULL);
if (message_chars == NULL) return;
log_do(level, "%s\n", message_chars);