mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-22 00:15:21 -04:00
fix switchinputmethod
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
@@ -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_) {
|
||||
|
||||
Reference in New Issue
Block a user