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

Changes to be committed:
This commit is contained in:
ma-shaoyin 2024-11-06 11:43:55 +08:00
parent 3837b2a3ae
commit 979134a9b2

View File

@ -265,7 +265,6 @@ void PerUserSession::OnImeDied(const sptr<IInputMethodCore> &remote, ImeType typ
}
IMSA_HILOGI("type: %{public}d.", type);
auto imeData = GetImeData(type);
auto ime = InputTypeManager::GetInstance().GetCurrentIme();
if (imeData != nullptr && imeData->imeStatus == ImeStatus::EXITING) {
RemoveImeData(type, true);
InputTypeManager::GetInstance().Set(false);