修改告警

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2022-01-14 17:52:03 +08:00
parent 1fb6b9192c
commit dbdb9b4ab9
2 changed files with 1 additions and 2 deletions
@@ -276,7 +276,6 @@ namespace MiscServices {
eventTarget->Off(type);
}
delete type;
type = nullptr;
napi_value result = nullptr;
napi_get_undefined(env, &result);
+1 -1
View File
@@ -161,7 +161,7 @@ namespace MiscServices {
std::u16string key = InputMethodSetting::ENABLED_INPUT_METHODS_TAG;
imSetting.SetValue(key, inputMethodSetting.GetValue(key));
int flag = imSetting.RemoveEnabledInputMethod(imeId);
bool flag = imSetting.RemoveEnabledInputMethod(imeId);
if (flag == false) {
IMSA_HILOGI("The package removed is not an enabled IME. [%d]\n", userId_);
return ErrorCode::NO_ERROR;