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

Commit 5c78ae3d authored by Ashutosh Joshi's avatar Ashutosh Joshi
Browse files

Pass on the Apps Query Response to clients.

Keep the message interface for backwards compatibility.

Bug: 35170375
Test: Verify that clients receive the query apps response.
Change-Id: I689ce0086e2122068471b7df79107d38e53e8dcf
parent d632305e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -331,7 +331,9 @@ struct ContextHubServiceCallback : IContexthubCallback {

    virtual Return<void> handleAppsInfo(
            const android::hardware::hidl_vec<HubAppInfo>& apps) {
        TransactionResult result = TransactionResult::SUCCESS;
        handleQueryAppsResponse(apps,mContextHubId);
        passOnOsResponse(mContextHubId, CONTEXT_HUB_QUERY_APPS, result, nullptr, 0);
        return android::hardware::Void();
    }