diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-12-22 11:23:31 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-12-22 11:23:31 +0000 |
commit | 32336a56e5d1852850d84aea35ab584ed6ce84a2 (patch) | |
tree | 142a3767bf6b65065cde85b8917a869ef74c4c6b /contexthub/aidl/default/ContextHub.cpp | |
parent | 9f7723939850d9587fe972740d8a4d121a062459 (diff) | |
parent | 3cdda9badd55710864ebaade7a4b8446adee38a6 (diff) |
Snap for 9430503 from 3cdda9badd55710864ebaade7a4b8446adee38a6 to t-keystone-qcom-release
Change-Id: I960c0298a0ac653861ae03d16955582c6110ffc9
Diffstat (limited to 'contexthub/aidl/default/ContextHub.cpp')
-rw-r--r-- | contexthub/aidl/default/ContextHub.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contexthub/aidl/default/ContextHub.cpp b/contexthub/aidl/default/ContextHub.cpp index 4c23cbc8bf..35e4650ef2 100644 --- a/contexthub/aidl/default/ContextHub.cpp +++ b/contexthub/aidl/default/ContextHub.cpp @@ -107,10 +107,9 @@ ScopedAStatus ContextHub::onHostEndpointConnected(const HostEndpointInfo& in_inf ScopedAStatus ContextHub::onHostEndpointDisconnected(char16_t in_hostEndpointId) { if (mConnectedHostEndpoints.count(in_hostEndpointId) > 0) { mConnectedHostEndpoints.erase(in_hostEndpointId); - return ndk::ScopedAStatus::ok(); - } else { - return ndk::ScopedAStatus(AStatus_fromExceptionCode(EX_ILLEGAL_ARGUMENT)); } + + return ndk::ScopedAStatus::ok(); } } // namespace contexthub |