diff --git a/services/core/jni/com_android_server_location_ContextHubService.cpp b/services/core/jni/com_android_server_location_ContextHubService.cpp index 27d2b6d66aec3..c976fe55a922a 100644 --- a/services/core/jni/com_android_server_location_ContextHubService.cpp +++ b/services/core/jni/com_android_server_location_ContextHubService.cpp @@ -331,7 +331,9 @@ struct ContextHubServiceCallback : IContexthubCallback { virtual Return handleAppsInfo( const android::hardware::hidl_vec& apps) { + TransactionResult result = TransactionResult::SUCCESS; handleQueryAppsResponse(apps,mContextHubId); + passOnOsResponse(mContextHubId, CONTEXT_HUB_QUERY_APPS, result, nullptr, 0); return android::hardware::Void(); }