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
This commit is contained in:
Greg Kaiser
2016-08-19 10:31:58 -07:00
parent fe6d4f518a
commit 10163d0dd2

View File

@@ -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);