mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-27 00:41:04 +00:00
!1417 修改其他输入法切换密码编辑框拉起密码键盘会导致键盘闪烁
Merge pull request !1417 from mashaoyin/master
This commit is contained in:
commit
70cf852f0e
@ -310,6 +310,7 @@ int32_t InputMethodSystemAbility::CheckInputTypeOption(int32_t userId, InputClie
|
||||
if (inputClientInfo.config.inputAttribute.GetSecurityFlag()) {
|
||||
if (!InputTypeManager::GetInstance().IsStarted()) {
|
||||
IMSA_HILOGD("SecurityFlag, input type is not started, start.");
|
||||
inputClientInfo.needHide = false;
|
||||
return StartInputType(userId, InputType::SECURITY_INPUT);
|
||||
}
|
||||
if (!inputClientInfo.isNotifyInputStart) {
|
||||
@ -318,6 +319,7 @@ int32_t InputMethodSystemAbility::CheckInputTypeOption(int32_t userId, InputClie
|
||||
}
|
||||
if (!InputTypeManager::GetInstance().IsSecurityImeStarted()) {
|
||||
IMSA_HILOGD("SecurityFlag, new textFiled, input type is started, but it is not security, switch.");
|
||||
inputClientInfo.needHide = false;
|
||||
return StartInputType(userId, InputType::SECURITY_INPUT);
|
||||
}
|
||||
IMSA_HILOGD("SecurityFlag, other condition, not deal.");
|
||||
|
Loading…
Reference in New Issue
Block a user