mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-24 07:09:58 +00:00
fix: focus listener
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
parent
8b346c2812
commit
03939dcb04
@ -29,7 +29,7 @@ void FocusChangedListener::OnUnfocused(const sptr<Rosen::FocusChangeInfo> &focus
|
||||
IMSA_HILOGE("error nullptr");
|
||||
return;
|
||||
}
|
||||
focusHandle_(focusChangeInfo->pid_, focusChangeInfo->pid_);
|
||||
focusHandle_(focusChangeInfo->pid_, focusChangeInfo->uid_);
|
||||
}
|
||||
} // namespace MiscServices
|
||||
} // namespace OHOS
|
@ -94,8 +94,8 @@ int32_t PerUserSession::RemoveClient(const sptr<IRemoteObject> &client, bool isC
|
||||
IMSA_HILOGD("start");
|
||||
auto clientInfo = GetClientInfo(client);
|
||||
if (clientInfo == nullptr) {
|
||||
IMSA_HILOGE("client not found");
|
||||
return ErrorCode::ERROR_CLIENT_NOT_FOUND;
|
||||
IMSA_HILOGD("client not found");
|
||||
return ErrorCode::NO_ERROR;
|
||||
}
|
||||
// if current client is removed, hide keyboard and clear channel
|
||||
auto currentClient = GetCurrentClient();
|
||||
|
Loading…
Reference in New Issue
Block a user