Please check is have problem in the following code: [code]
- User
Please check is have problem in the following code:
Return GnssCallback::gnssNameCb(const android::hardware::hidl_string& name) { ALOGD("%s: name=%s\n", __func__, name.c_str()); JNIEnv* env = getJniEnv(); jstring jstringName = env->NewStringUTF(name.c_str()); env->CallVoidMethod(mCallbacksObj, method_setGnssHardwareModelName, jstringName); checkAndClearExceptionFromCallback(env, __FUNCTION__); return Void(); } Assistant
The problem is in return statement. The function should return nothing and not Void().
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.