Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

Changes to be committed:
This commit is contained in:
ma-shaoyin 2024-08-28 16:29:11 +08:00
parent 8f15d8dd6c
commit 7c5fbb533c

View File

@ -1644,6 +1644,7 @@ bool PerUserSession::CheckPwdInputPatternConv(InputClientInfo &newClientInfo)
IMSA_HILOGE("exClientInfo is nullptr!");
return false;
}
// if current input pattern differ from previous in pwd and normal, need hide panel first.
if (newClientInfo.config.inputAttribute.GetSecurityFlag()) {
IMSA_HILOGI("new input pattern is pwd.");
return !exClientInfo->config.inputAttribute.GetSecurityFlag();