mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-18 17:24:37 -04:00
@@ -186,7 +186,8 @@ namespace MiscServices {
|
||||
StartUserIdListener();
|
||||
}
|
||||
|
||||
void InputMethodSystemAbility::StartUserIdListener() {
|
||||
void InputMethodSystemAbility::StartUserIdListener()
|
||||
{
|
||||
sptr<ImCommonEventManager> imCommonEventManager = ImCommonEventManager::GetInstance();
|
||||
bool isSuccess = imCommonEventManager->SubscribeEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED);
|
||||
if (isSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user