From d90d22135d72a79b464b8be6a087884783315f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cliangwei=E2=80=9D?= Date: Sat, 13 Sep 2025 11:28:11 +0800 Subject: [PATCH] liangwei49@huawei.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “liangwei” --- .../proxy/event_handler/src/input_device_consumer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frameworks/proxy/event_handler/src/input_device_consumer.cpp b/frameworks/proxy/event_handler/src/input_device_consumer.cpp index 701ef5d228..73b7a1b826 100644 --- a/frameworks/proxy/event_handler/src/input_device_consumer.cpp +++ b/frameworks/proxy/event_handler/src/input_device_consumer.cpp @@ -70,6 +70,12 @@ void InputDeviceConsumer::OnConnected() return; } + const std::string pluginName = "pc.pointer.inputDeviceConsumer.202507"; + MULTIMODAL_INPUT_CONNECT_MGR->GetExternalObject(pluginName, inputDeviceConsumerPluginStub_); + if (!inputDeviceConsumerPluginStub_) { + MMI_HILOGE("Get input device stub from plugin failed"); + return; + } sptr inputDevicePluginProxy = sptr::MakeSptr(inputDeviceConsumerPluginStub_); if (!inputDevicePluginProxy) { -- Gitee