From c32d88f4cee424fddd73ee1205152a62efa92ecc Mon Sep 17 00:00:00 2001 From: zhouyongfei Date: Wed, 2 Mar 2022 14:10:25 +0800 Subject: [PATCH] fix Signed-off-by: zhouyongfei --- services/src/input_method_system_ability.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/src/input_method_system_ability.cpp b/services/src/input_method_system_ability.cpp index 13f4f66..177e6fb 100644 --- a/services/src/input_method_system_ability.cpp +++ b/services/src/input_method_system_ability.cpp @@ -186,7 +186,8 @@ namespace MiscServices { StartUserIdListener(); } - void InputMethodSystemAbility::StartUserIdListener() { + void InputMethodSystemAbility::StartUserIdListener() + { sptr imCommonEventManager = ImCommonEventManager::GetInstance(); bool isSuccess = imCommonEventManager->SubscribeEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED); if (isSuccess) {