!1593 应用在普通键盘切换密码键盘,在切回普通键盘时,键盘异常

Merge pull request !1593 from ZSY/master
This commit is contained in:
openharmony_ci 2024-11-20 09:06:44 +00:00 committed by Gitee
commit 28c894d1ed
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -299,8 +299,9 @@ int32_t InputMethodSystemAbility::StartInput(InputClientInfo &inputClientInfo, s
// notify inputStart when caller pid different from both current client and inactive client
inputClientInfo.isNotifyInputStart = true;
}
if (inputClientInfo.isNotifyInputStart) {
inputClientInfo.needHide = session->CheckPwdInputPatternConv(inputClientInfo);
if (session->CheckPwdInputPatternConv(inputClientInfo)) {
inputClientInfo.needHide = true;
inputClientInfo.isNotifyInputStart = true;
}
if (!session->IsProxyImeEnable()) {
auto ret = CheckInputTypeOption(userId, inputClientInfo);