mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-20 23:45:31 -04:00
@@ -76,6 +76,7 @@ namespace MiscServices {
|
||||
IMSA_HILOGI("InputMethodCoreStub::OnRemoteRequest START_INPUT inputDataChannel is nulltpr");
|
||||
}
|
||||
startInput(inputDataChannel, *editorAttribute, supportPhysicalKbd);
|
||||
delete editorAttribute;
|
||||
reply.WriteNoException();
|
||||
break;
|
||||
}
|
||||
@@ -99,6 +100,7 @@ namespace MiscServices {
|
||||
case SET_KEYBOARD_TYPE: {
|
||||
KeyboardType *type = data.ReadParcelable<KeyboardType>();
|
||||
setKeyboardType(*type);
|
||||
delete type;
|
||||
reply.WriteNoException();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -253,4 +253,4 @@ using namespace MessageID;
|
||||
InputMethodController::GetInstance()->OnRemoteSaDied(object);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1217,6 +1217,7 @@ namespace MiscServices {
|
||||
}
|
||||
|
||||
int ret = AddClient(pid, uid, displayId, client, channel, *attribute);
|
||||
delete attribute;
|
||||
if (ret != ErrorCode::NO_ERROR) {
|
||||
IMSA_HILOGE("PerUserSession::OnPrepareInput Aborted! %{public}s", ErrorCode::ToString(ret));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user