diff --git a/frameworks/proxy/event_handler/src/key_event_input_subscribe_manager.cpp b/frameworks/proxy/event_handler/src/key_event_input_subscribe_manager.cpp index 23d1c2ad9c6ad9af91dcabd0643f79aedb241ff5..2e3e6d000337c3b1553e0cdf6102356c805e1619 100644 --- a/frameworks/proxy/event_handler/src/key_event_input_subscribe_manager.cpp +++ b/frameworks/proxy/event_handler/src/key_event_input_subscribe_manager.cpp @@ -439,6 +439,7 @@ KeyEventInputSubscribeManager::GetSubscribeKeyEvent(int32_t id) } std::lock_guard guard(mtx_); for (const auto &subscriber : subscribeInfos_) { + MMI_HILOGI("subscriber id:%{public}d", subscriber.GetSubscribeId()); if (subscriber.GetSubscribeId() == id) { return std::make_shared(subscriber); } diff --git a/service/key_command/src/key_command_handler.cpp b/service/key_command/src/key_command_handler.cpp index c3cc669ade64f8cf8e940cd5acbd5370ad93f353..1d1c59ca8dc15200e81d778a163487e5c84eecd5 100644 --- a/service/key_command/src/key_command_handler.cpp +++ b/service/key_command/src/key_command_handler.cpp @@ -1082,7 +1082,8 @@ bool KeyCommandHandler::CheckSpecialRepeatKey(RepeatKey& item, const std::shared } auto callState = DEVICE_MONITOR->GetCallState(); if (callState == StateType::CALL_STATUS_ACTIVE || callState == StateType::CALL_STATUS_HOLDING || - callState == StateType::CALL_STATUS_INCOMING || callState == StateType::CALL_STATUS_ANSWERED) { + callState == StateType::CALL_STATUS_INCOMING || callState == StateType::CALL_STATUS_ANSWERED || + callState == StateType::CALL_STATUS_ALERTING) { return true; } MMI_HILOGI("ScreenStatus:%{public}s, isScreenLocked:%{public}d", screenStatus.c_str(), isScreenLocked); diff --git a/service/window_manager/src/input_windows_manager.cpp b/service/window_manager/src/input_windows_manager.cpp index f5f6394e9f5a2db1a1cf8208f5f299c4d4ba48c7..763670b709a5835ec49c331eec84d040413486f0 100644 --- a/service/window_manager/src/input_windows_manager.cpp +++ b/service/window_manager/src/input_windows_manager.cpp @@ -818,9 +818,7 @@ std::vector> InputWindowsManager::GetPidAndUpdate } int32_t groupId = FindDisplayGroupId(keyEvent->GetTargetDisplayId()); const int32_t focusWindowId = GetFocusWindowId(groupId); - if (GetHardCursorEnabled()) { - UpdateKeyEventDisplayId(keyEvent, focusWindowId, groupId); - } + UpdateKeyEventDisplayId(keyEvent, focusWindowId, groupId); WindowInfo* windowInfo = nullptr; std::vector windowsInfo = GetWindowGroupInfoByDisplayId(keyEvent->GetTargetDisplayId()); bool isUIExtention = false;