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

Commit 2f23a1a7 authored by Brian Duddie's avatar Brian Duddie Committed by android-build-merger
Browse files

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

am: befd3397

Change-Id: Id27aa1ec7d76e6f74a0f436ba5f8bd1643991f6e
parents 324b3997 befd3397
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;