From 40a222a4715b8347edba79a925b2e4c2b4cc9871 Mon Sep 17 00:00:00 2001 From: l30054665 Date: Sun, 4 Feb 2024 09:38:17 +0800 Subject: [PATCH] change sa Signed-off-by: l30054665 --- interfaces/ipc/src/distributed_input_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/ipc/src/distributed_input_client.cpp b/interfaces/ipc/src/distributed_input_client.cpp index ec0c1af..22346f0 100644 --- a/interfaces/ipc/src/distributed_input_client.cpp +++ b/interfaces/ipc/src/distributed_input_client.cpp @@ -756,7 +756,7 @@ int32_t DistributedInputClient::RegisterSessionStateCb(sptrRegisterSessionStateCb(callback); } @@ -766,7 +766,7 @@ int32_t DistributedInputClient::UnregisterSessionStateCb() DHLOGE("DinputStart client fail."); return ERR_DH_INPUT_CLIENT_GET_SOURCE_PROXY_FAIL; } - DInputSAManager::GetInstance().RemoveSessionStateCbFromCache(listener); + DInputSAManager::GetInstance().RemoveSessionStateCbFromCache(callback); return DInputSAManager::GetInstance().dInputSourceProxy_->UnregisterSessionStateCb(); } } // namespace DistributedInput