mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-27 17:01:21 +00:00
misc_tScan警告
Signed-off-by: h30051954 <hemenghao2@huawei.com>
This commit is contained in:
parent
aee22fb76f
commit
daae4be282
@ -249,7 +249,10 @@ std::shared_ptr<Property> EnableImeDataParser::GetDefaultIme()
|
||||
}
|
||||
defaultImeInfo_ = std::make_shared<Property>();
|
||||
auto info = ImeInfoInquirer::GetInstance().GetDefaultImeInfo(currrentUserId_);
|
||||
CHECK_NULL_VOID(info);
|
||||
if (info == nullptr) {
|
||||
IMSA_HILOGE("GetDefaultImeInfo return nullptr");
|
||||
return nullptr;
|
||||
}
|
||||
defaultImeInfo_->name = info->prop.name;
|
||||
defaultImeInfo_->id = info->prop.id;
|
||||
return defaultImeInfo_;
|
||||
|
Loading…
Reference in New Issue
Block a user