!48854 ACE_MOUSE日志整改

Merge pull request !48854 from 胡清云/log_Fix_1119
This commit is contained in:
openharmony_ci 2024-11-19 06:32:39 +00:00 committed by Gitee
commit def0583b81
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 4 deletions

View File

@ -93,7 +93,7 @@ bool MouseStyleOhos::SetPointerStyle(int32_t windowId, MouseFormat pointerStyle)
}
MMI::PointerStyle style;
style.id = MMIPointStyle;
TAG_LOGI(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d",
TAG_LOGD(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d",
windowId, static_cast<int32_t>(pointerStyle), isUIExtension);
int32_t setResult = inputManager->SetPointerStyle(windowId, style, isUIExtension);
if (setResult == -1) {

View File

@ -3388,9 +3388,8 @@ void PipelineContext::DispatchMouseEvent(
bool PipelineContext::ChangeMouseStyle(int32_t nodeId, MouseFormat format, int32_t windowId, bool isByPass)
{
if (static_cast<int32_t>(format) == 0) {
TAG_LOGI(AceLogTag::ACE_MOUSE, "ChangeMouseStyle nodeId=%{public}d style=%{public}d windowId=%{public}d "
"isByPass=%{public}d mouseStyleNodeId_=%{public}d",
nodeId, static_cast<int32_t>(format), windowId, isByPass, mouseStyleNodeId_.value_or(-1));
TAG_LOGI(AceLogTag::ACE_MOUSE, "ChangeMouseStyle [%{public}d,%{public}d,%{public}d,%{public}d,%{public}d]",
nodeId, mouseStyleNodeId_.value_or(-1), static_cast<int32_t>(format), windowId, isByPass);
}
auto window = GetWindow();
if (window && window->IsUserSetCursor()) {