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

Commit 10163d0d authored by Greg Kaiser's avatar Greg Kaiser
Browse files

ContextHubService: Fix app query

We now ask for the appId the user requested, instead of asking
for no apps (asking for NANOAPP_VENDOR_ALL_APPS without pairing
it with any vendors results in no apps).

Bug: 30829899
Change-Id: I896af60814d55c7f8cb298c9142212bac5b06995
parent fe6d4f51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ static void query_hub_for_apps(uint64_t appId, uint32_t hubHandle) {
    hub_message_t msg;
    query_apps_request_t queryMsg;

    queryMsg.app_name.id = NANOAPP_VENDOR_ALL_APPS;
    queryMsg.app_name.id = appId;

    msg.message_type = CONTEXT_HUB_QUERY_APPS;
    msg.message_len  = sizeof(queryMsg);