mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-19 12:08:05 -04:00
@@ -84,7 +84,7 @@ namespace MiscServices {
|
||||
return;
|
||||
}
|
||||
|
||||
data.WriteInt32(windowId);
|
||||
data.WriteUint32(windowId);
|
||||
Remote()->SendRequest(SET_CALLING_WINDOW_ID, data, reply, option);
|
||||
}
|
||||
} // namespace MiscServices
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace MiscServices {
|
||||
break;
|
||||
}
|
||||
case SET_CALLING_WINDOW_ID: {
|
||||
uint32_t windowId = data.ReadInt32;
|
||||
uint32_t windowId = data.ReadUint32();
|
||||
SetCallingWindow(windowId);
|
||||
}
|
||||
case ON_CURSOR_UPDATE: {
|
||||
@@ -89,7 +89,7 @@ namespace MiscServices {
|
||||
{
|
||||
IMSA_HILOGI("InputMethodAgentStub::SetCallingWindow");
|
||||
if (!msgHandler_) {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
InputMethodAbility::GetInstance()->SetCallingWindow(windowId);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user