mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-19 12:08:05 -04:00
@@ -339,7 +339,7 @@ namespace MiscServices {
|
||||
}
|
||||
|
||||
PerUserSession *userSession = GetUserSession(userId);
|
||||
if (user!session) {
|
||||
if (!userSession) {
|
||||
return ErrorCode::ERROR_NULL_POINTER;
|
||||
}
|
||||
KeyboardType *type = userSession->GetCurrentKeyboardType();
|
||||
@@ -540,7 +540,7 @@ namespace MiscServices {
|
||||
Message *destMsg = new Message(MSG_ID_EXIT_SERVICE, nullptr);
|
||||
handler->SendMessage(destMsg);
|
||||
PerUserSession *userSession = GetUserSession(it->first);
|
||||
if (user!session) {
|
||||
if (!userSession) {
|
||||
IMSA_HILOGE("getUserSession fail.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user