mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 06:40:06 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
5c36324241
commit
b4bc0b590c
@ -1742,7 +1742,7 @@ bool PerUserSession::CheckInputTypeToStart(std::shared_ptr<ImeNativeCfg> &imeToS
|
||||
return false;
|
||||
}
|
||||
auto currentInputTypeIme = InputTypeManager::GetInstance().GetCurrentIme();
|
||||
if (currentInputTypeIme.bundleName == "") {
|
||||
if (currentInputTypeIme.bundleName.empty()) {
|
||||
auto currentInputType = InputTypeManager::GetInstance().GetCurrentInputType();
|
||||
InputTypeManager::GetInstance().GetImeByInputType(currentInputType, currentInputTypeIme);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user