Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit befd3397 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "ContextHubService: Pass on query requests" into oc-dev

parents d8d7a283 0e5a2ab7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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;