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) {