|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
#include "TerminalDevice.h"
|
|
|
|
|
#include "PhoneDevice.h"
|
|
|
|
|
#include "PhoneDevice2.h"
|
|
|
|
|
#include <LogThread.h>
|
|
|
|
|
#include <sys/system_properties.h>
|
|
|
|
|
#include <AndroidHelper.h>
|
|
|
|
|
#include <linux/spi/spidev.h>
|
|
|
|
@ -689,12 +690,12 @@ Java_com_xypower_mpapp_MicroPhotoService_infoLog(
|
|
|
|
|
|
|
|
|
|
if (env->GetStringUTFLength(msg) <=0)
|
|
|
|
|
{
|
|
|
|
|
return JNI_FALSE;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char *msgStr = env->GetStringUTFChars(msg, 0);
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_INFO, msgStr);
|
|
|
|
|
env->ReleaseStringUTFChars(outputPath, outputPathStr);
|
|
|
|
|
env->ReleaseStringUTFChars(msg, msgStr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
extern "C" JNIEXPORT void JNICALL
|
|
|
|
|