fix switchinputmethod

Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
zhaolinglan
2022-07-21 21:20:45 +08:00
parent 1f87da9d07
commit f847a4e69a
15 changed files with 79 additions and 73 deletions
@@ -117,7 +117,7 @@ namespace MiscServices {
SetCoreAndAgent();
}
void InputMethodAbility::setImeListener(sptr<JsInputMethodEngineListener> &imeListener)
void InputMethodAbility::setImeListener(sptr<JsInputMethodEngineListener> imeListener)
{
IMSA_HILOGI("InputMethodAbility::setImeListener");
if (!imeListener_) {
@@ -125,7 +125,7 @@ namespace MiscServices {
}
}
void InputMethodAbility::setKdListener(sptr<JsKeyboardDelegateListener> &kdListener)
void InputMethodAbility::setKdListener(sptr<JsKeyboardDelegateListener> kdListener)
{
IMSA_HILOGI("InputMethodAbility::setKdListener");
if (!kdListener_) {