commit | 94e1aa21e50c4d25fbafbca08f8f4a821a3f0c27 | [log] [tgz] |
---|---|---|
author | Arthur Ishiguro <arthuri@google.com> | Tue Oct 26 17:25:19 2021 +0000 |
committer | Arthur Ishiguro <arthuri@google.com> | Thu Oct 28 19:50:42 2021 +0000 |
tree | d1668372d9e5c52e2a6405bfd734b9b35c185444 | |
parent | c37f38d465e8193bcb7103fe450404b947454d1b [diff] |
Update AIDL Context Hub default impl Functionality matches default HIDL impl. Bug: 194285834 Test: Presubmit Change-Id: Ia84fe1eea93eea27a4c047360cc2a79a4decdbab
diff --git a/contexthub/aidl/default/include/contexthub-impl/ContextHub.h b/contexthub/aidl/default/include/contexthub-impl/ContextHub.h index 980cee5..0dbb61b 100644 --- a/contexthub/aidl/default/include/contexthub-impl/ContextHub.h +++ b/contexthub/aidl/default/include/contexthub-impl/ContextHub.h
@@ -41,6 +41,10 @@ ::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