Loading services/core/jni/com_android_server_location_ContextHubService.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1129,6 +1129,8 @@ jint nativeSendMessage(JNIEnv *env, if (appInstanceHandle == OS_APP_ID) { if (appInstanceHandle == OS_APP_ID) { if (msgType == CONTEXT_HUB_LOAD_APP) { if (msgType == CONTEXT_HUB_LOAD_APP) { result = sendLoadNanoAppRequest(hubId, data, dataBufferLength); result = sendLoadNanoAppRequest(hubId, data, dataBufferLength); } else if (msgType == CONTEXT_HUB_QUERY_APPS) { result = db.hubInfo.contextHub->queryApps(hubId); } else { } else { ALOGD("Dropping OS addresses message of type - %" PRIu32, msgType); ALOGD("Dropping OS addresses message of type - %" PRIu32, msgType); result = Result::BAD_PARAMS; result = Result::BAD_PARAMS; Loading Loading
services/core/jni/com_android_server_location_ContextHubService.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1129,6 +1129,8 @@ jint nativeSendMessage(JNIEnv *env, if (appInstanceHandle == OS_APP_ID) { if (appInstanceHandle == OS_APP_ID) { if (msgType == CONTEXT_HUB_LOAD_APP) { if (msgType == CONTEXT_HUB_LOAD_APP) { result = sendLoadNanoAppRequest(hubId, data, dataBufferLength); result = sendLoadNanoAppRequest(hubId, data, dataBufferLength); } else if (msgType == CONTEXT_HUB_QUERY_APPS) { result = db.hubInfo.contextHub->queryApps(hubId); } else { } else { ALOGD("Dropping OS addresses message of type - %" PRIu32, msgType); ALOGD("Dropping OS addresses message of type - %" PRIu32, msgType); result = Result::BAD_PARAMS; result = Result::BAD_PARAMS; Loading