diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-10-03 23:25:19 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-10-03 23:25:19 +0000 |
commit | 9f41e2ccad3b89cbad30da29a1bf3566f4724b49 (patch) | |
tree | b522551f1ea7f066be8bf8d0222da12ea141b666 /contexthub/aidl/default/ContextHub.cpp | |
parent | bfcf2eda1e26ec93c52f18bea459e2979a412ce2 (diff) | |
parent | fc74dada36d4b830edb726868cbb54018da8f03c (diff) |
Snap for 9133013 from fc74dada36d4b830edb726868cbb54018da8f03c to tm-qpr2-release
Change-Id: Iec700b28d767a450ac04250378144e3d57cd2ca9
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 |