Merge "ContextHubService: Pass on query requests" into oc-dev am: befd33975c
am: 2f23a1a7a1
Change-Id: I3392ad2be1113bf69381e0c7f108bb9ca1a59492
This commit is contained in:
@@ -1129,6 +1129,8 @@ jint nativeSendMessage(JNIEnv *env,
|
||||
if (appInstanceHandle == OS_APP_ID) {
|
||||
if (msgType == CONTEXT_HUB_LOAD_APP) {
|
||||
result = sendLoadNanoAppRequest(hubId, data, dataBufferLength);
|
||||
} else if (msgType == CONTEXT_HUB_QUERY_APPS) {
|
||||
result = db.hubInfo.contextHub->queryApps(hubId);
|
||||
} else {
|
||||
ALOGD("Dropping OS addresses message of type - %" PRIu32, msgType);
|
||||
result = Result::BAD_PARAMS;
|
||||
|
||||
Reference in New Issue
Block a user