From 66f677ad64facd2cdd4948c178c100f545695aaa Mon Sep 17 00:00:00 2001 From: duanwenhao Date: Mon, 18 Jul 2022 06:53:07 +0000 Subject: [PATCH] =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=90=8DGetPointersIdList?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BAGetPointerIds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: duanwenhao --- adapter/ohos/entrance/flutter_ace_view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adapter/ohos/entrance/flutter_ace_view.cpp b/adapter/ohos/entrance/flutter_ace_view.cpp index 31b1407cdd2..18379864452 100755 --- a/adapter/ohos/entrance/flutter_ace_view.cpp +++ b/adapter/ohos/entrance/flutter_ace_view.cpp @@ -90,7 +90,7 @@ TouchPoint ConvertTouchPoint(const MMI::PointerEvent::PointerItem& pointerItem) void UpdateTouchEvent(const std::shared_ptr& pointerEvent, TouchEvent& touchEvent) { - auto ids = pointerEvent->GetPointersIdList(); + auto ids = pointerEvent->GetPointerIds(); for (auto&& id : ids) { MMI::PointerEvent::PointerItem item; bool ret = pointerEvent->GetPointerItem(id, item); @@ -307,7 +307,7 @@ void LogPointInfo(const std::shared_ptr& pointerEvent) LOGI("action point info: id: %{public}d, x: %{public}d, y: %{public}d, action: %{public}d", actionId, item.GetWindowX(), item.GetWindowY(), pointerEvent->GetPointerAction()); } - auto ids = pointerEvent->GetPointersIdList(); + auto ids = pointerEvent->GetPointerIds(); for (auto&& id : ids) { MMI::PointerEvent::PointerItem item; if (pointerEvent->GetPointerItem(id, item)) { -- Gitee