mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-30 18:31:01 +00:00
MOD
Signed-off-by: cy7717 <chenyu301@huawei.com>
This commit is contained in:
parent
e60fe0a051
commit
849a9ff6a9
@ -645,7 +645,7 @@ bool InputMethodController::DispatchKeyEvent(std::shared_ptr<MMI::KeyEvent> keyE
|
||||
return false;
|
||||
}
|
||||
if (isStopInput) {
|
||||
IMSA_HILOGD("InputMethodController::input stop");
|
||||
IMSA_HILOGE("InputMethodController::input stop");
|
||||
return false;
|
||||
}
|
||||
std::shared_ptr<IInputMethodAgent> agent = GetInputMethodAgent();
|
||||
|
@ -152,6 +152,7 @@ int32_t InputMethodSystemAbility::Init()
|
||||
if (!isSuccess) {
|
||||
return -1;
|
||||
}
|
||||
state_ = ServiceRunningState::STATE_RUNNING;
|
||||
ImeCfgManager::GetInstance().Init();
|
||||
std::vector<int32_t> userIds;
|
||||
if (BlockRetry(RETRY_INTERVAL, BLOCK_RETRY_TIMES, [&userIds]() -> bool {
|
||||
@ -161,7 +162,6 @@ int32_t InputMethodSystemAbility::Init()
|
||||
userSession_->UpdateCurrentUserId(userId_);
|
||||
}
|
||||
StartInputService(GetStartedIme(userId_));
|
||||
state_ = ServiceRunningState::STATE_RUNNING;
|
||||
StartUserIdListener();
|
||||
int32_t ret = InitKeyEventMonitor();
|
||||
IMSA_HILOGI("init KeyEvent monitor %{public}s", ret == ErrorCode::NO_ERROR ? "success" : "failed");
|
||||
|
Loading…
Reference in New Issue
Block a user