From 4d039b687c15fb5b2bd76662f666d49fea6c08f6 Mon Sep 17 00:00:00 2001 From: li-tiangang4 Date: Mon, 27 Nov 2023 20:45:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0ipc=20code=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: li-tiangang4 --- interfaces/ipc/src/distributed_input_source_stub.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interfaces/ipc/src/distributed_input_source_stub.cpp b/interfaces/ipc/src/distributed_input_source_stub.cpp index 8afb6b8..7c84fa8 100644 --- a/interfaces/ipc/src/distributed_input_source_stub.cpp +++ b/interfaces/ipc/src/distributed_input_source_stub.cpp @@ -654,7 +654,13 @@ int32_t DistributedInputSourceStub::OnRemoteRequest( DHLOGE("DistributedInputSourceStub read token valid failed"); return ERR_DH_INPUT_IPC_WRITE_TOKEN_VALID_FAIL; } + if (code == static_cast(IDInputSourceInterfaceCode::REGISTER_REMOTE_INPUT)) { + DHLOGI("Receive Register DInput cmd"); + } + if (code == static_cast(IDInputSourceInterfaceCode::UNREGISTER_REMOTE_INPUT)) { + DHLOGI("Receive UnRegister DInput cmd"); + } if (code == static_cast(IDInputSourceInterfaceCode::INIT)) { return HandleInitDistributedHardware(reply); } else if (code == static_cast(IDInputSourceInterfaceCode::RELEASE)) { -- Gitee