mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-12-02 12:06:35 +00:00
fix: ima death recipient
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
parent
94612506f2
commit
5496bd337b
@ -552,7 +552,6 @@ void PerUserSession::OnUnfocused(int32_t pid, int32_t uid)
|
||||
IMSA_HILOGI("release input ret: %{public}d", ret);
|
||||
}
|
||||
|
||||
<<<<<<< master
|
||||
sptr<AAFwk::IAbilityManager> PerUserSession::GetAbilityManagerService()
|
||||
{
|
||||
IMSA_HILOGD("InputMethodSystemAbility::GetAbilityManagerService start");
|
||||
@ -593,7 +592,7 @@ bool PerUserSession::StartCurrentIme(bool isRetry)
|
||||
return true;
|
||||
}
|
||||
if (isRetry) {
|
||||
IMSA_HILOGE("start ability failed, begin to restart 5 times");
|
||||
IMSA_HILOGE("failed to start ime, begin to retry five times");
|
||||
imeRestartHandler_ = std::make_shared<AppExecFwk::EventHandler>(AppExecFwk::EventRunner::Create("ImeRestart"));
|
||||
auto retryTask = [this]() {
|
||||
BlockRetry(IME_RESTART_INTERVAL, IME_RESTART_TIMES, [this]() { return StartCurrentIme(false); });
|
||||
|
Loading…
Reference in New Issue
Block a user