diff --git a/services/src/peruser_session.cpp b/services/src/peruser_session.cpp index ad9fe6e6..0d1f0ba1 100644 --- a/services/src/peruser_session.cpp +++ b/services/src/peruser_session.cpp @@ -265,7 +265,6 @@ void PerUserSession::OnImeDied(const sptr &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);