Skip to content

Commit 3e9f92c

Browse files
committed
refactor: clear log
1 parent 7f5fbbc commit 3e9f92c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dart_native/android/src/main/jni/dart_native.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ extern "C"
212212
}
213213

214214
char *methodSignature = generateSignature(dataTypes, argumentCount, returnType);
215-
// DNDebug("call method %s %s", methodName, methodSignature);
215+
DNDebug("call method %s %s", methodName, methodSignature);
216216
jmethodID method = env->GetMethodID(cls, methodName, methodSignature);
217217

218218
auto it = methodCallerMap.find(*returnType);
@@ -390,7 +390,6 @@ extern "C"
390390
auto argTypeString = (jstring)env->GetObjectArrayElement(argumentTypes, i);
391391
auto argument = env->GetObjectArrayElement(argumentsArray, i);
392392
dataTypes[i] = (char *)env->GetStringUTFChars(argTypeString, 0);
393-
DNError("not register this dart port! %s", dataTypes[i]);
394393
if (strcmp(dataTypes[i], "java.lang.String") == 0)
395394
{
396395
arguments[i] = (jstring)argument == nullptr ? reinterpret_cast<uint16_t *>((char *)"")
@@ -404,7 +403,6 @@ extern "C"
404403
arguments[i] = gObj;
405404

406405
env->DeleteLocalRef(objCls);
407-
DNError("over %s", dataTypes[i]);
408406
}
409407

410408
env->DeleteLocalRef(argTypeString);

0 commit comments

Comments
 (0)