修复编译问题

Signed-off-by: yadeno <hitwh2015@gmail.com>
This commit is contained in:
yadeno
2022-04-12 15:19:28 +08:00
parent 7ff1240555
commit 36dff39860
2 changed files with 3 additions and 3 deletions
@@ -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;