This commit is contained in:
Grant Limberg 2015-06-30 19:21:46 -07:00
parent c9919cc5ba
commit aee8e95d49

View File

@ -365,7 +365,7 @@ namespace {
env->ReleasePrimitiveArrayCritical(objectSizeObj, objSize, 0);
}
LOGI("Out Object Size: %lu", *out_objectSize);
LOGV("Out Object Size: %lu", *out_objectSize);
return retval;
}
@ -410,12 +410,14 @@ namespace {
if(buffer == NULL)
{
LOGD("JNI: Delete file: %s", objectName);
// delete operation
return env->CallIntMethod(
ref->dataStorePutListener, deleteMethod, nameStr);
}
else
{
LOGD("JNI: Write file: %s", objectName);
// set operation
jbyteArray bufferObj = env->NewByteArray(bufferSize);
if(env->ExceptionCheck() || bufferObj == NULL)