diff --git a/adapter/ohos/entrance/flutter_ace_view.cpp b/adapter/ohos/entrance/flutter_ace_view.cpp index 31b1407cdd260f4ad4f404ca2240c43b3199c597..18379864452d7cb9169e1e52dd22c9146d91e322 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)) {