summaryrefslogtreecommitdiff
path: root/contexthub/aidl/default/include/contexthub-impl/ContextHub.h
diff options
context:
space:
mode:
Diffstat (limited to 'contexthub/aidl/default/include/contexthub-impl/ContextHub.h')
-rw-r--r--contexthub/aidl/default/include/contexthub-impl/ContextHub.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contexthub/aidl/default/include/contexthub-impl/ContextHub.h b/contexthub/aidl/default/include/contexthub-impl/ContextHub.h
index 980cee5cd3..0dbb61bc3a 100644
--- a/contexthub/aidl/default/include/contexthub-impl/ContextHub.h
+++ b/contexthub/aidl/default/include/contexthub-impl/ContextHub.h
@@ -41,6 +41,10 @@ class ContextHub : public BnContextHub {
::ndk::ScopedAStatus sendMessageToHub(int32_t in_contextHubId,
const ContextHubMessage& in_message,
bool* _aidl_return) override;
+
+ private:
+ static constexpr uint32_t kMockHubId = 0;
+ std::shared_ptr<IContextHubCallback> mCallback;
};
} // namespace contexthub