!1500 移除ClearCacheEventsAndMsg接口内部的RemoveEvent逻辑,解决频繁收到move场景下的耗时问题

Merge pull request !1500 from taojuncun/bug_1025_01
This commit is contained in:
openharmony_ci 2024-10-25 12:32:36 +00:00 committed by Gitee
commit 42edf38a0d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -219,7 +219,6 @@ void AccessibilityZoomGesture::ClearCacheEventsAndMsg()
lastDownEvent_ = nullptr;
preLastUpEvent_ = nullptr;
lastUpEvent_ = nullptr;
zoomGestureEventHandler_->RemoveEvent(MULTI_TAP_MSG);
}
void AccessibilityZoomGesture::RecognizeInReadyState(MMI::PointerEvent &event)