From 3367d44996208a0dd4ed13be848ad805d3ba47a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2=E4=B9=A6=E5=8C=85=E6=8C=87=E6=8C=A5=E5=AE=98?= Date: Thu, 12 Jun 2025 19:27:18 +0800 Subject: [PATCH] keep codes sames MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 红书包指挥官 --- arkui/window_manager/libwm.ndk.json | 4 ---- arkui/window_manager/oh_window.h | 15 --------------- 2 files changed, 19 deletions(-) diff --git a/arkui/window_manager/libwm.ndk.json b/arkui/window_manager/libwm.ndk.json index 53d45ba8233..2b377c4799d 100644 --- a/arkui/window_manager/libwm.ndk.json +++ b/arkui/window_manager/libwm.ndk.json @@ -87,10 +87,6 @@ "first_instroduced":"17", "name":"OH_WindowManager_ReleaseAllWindowLayoutInfoList" }, - { - "first_instroduced":"20", - "name":"OH_WindowManager_InjectTouchEvent" - }, { "first_instroduced":"20", "name":"OH_PictureInPicture_CreatePip" diff --git a/arkui/window_manager/oh_window.h b/arkui/window_manager/oh_window.h index 478ab099a9b..793f9a758f6 100644 --- a/arkui/window_manager/oh_window.h +++ b/arkui/window_manager/oh_window.h @@ -38,7 +38,6 @@ #include "stdint.h" #include "oh_window_comm.h" -#include "multimodalinput/oh_input_manager.h" #ifdef __cplusplus extern "C" { @@ -273,20 +272,6 @@ int32_t OH_WindowManager_GetAllWindowLayoutInfoList(int64_t displayId, */ void OH_WindowManager_ReleaseAllWindowLayoutInfoList(WindowManager_Rect* windowLayoutInfoList); -/** - * @brief app can inject a touchEvent to target window without Focus and zOrder changed, just send to ArkUI. - * - * @param windowId windowId when window is created. - * @param touchEvent multimodal touchEvent. - * @return Returns the result code. - * {@link OK} the function call is successful. - * {@link WINDOW_MANAGER_ERRORCODE_INVALID_PARAM} parameter error. - * {@link WINDOW_MANAGER_ERRORCODE_STATE_ABNORMAL} this window state is abnormal. - * {@link WINDOW_MANAGER_ERRORCODE_SYSTEM_ABNORMAL} the window manager service works abnormally. - * @since 20 - */ -int32_t OH_WindowManager_InjectTouchEvent(int32_t windowId, Input_TouchEvent* touchEvent); - #ifdef __cplusplus } #endif -- Gitee