Signed-off-by: cy7717 <chenyu301@huawei.com>
This commit is contained in:
cy7717 2023-02-21 21:51:06 +08:00
parent 42f211096a
commit 78225bfc41

View File

@ -155,7 +155,7 @@ int32_t InputMethodSystemAbility::Init()
std::vector<int32_t> userIds;
while (1) {
if (OsAccountManager::QueryActiveOsAccountIds(userIds) == ERR_OK && !userIds.empty()) {
IMSA_HILOGI("userId: %{public}d", userId_);
IMSA_HILOGI("userId: %{public}d", userIds[0]);
userId_ = userIds[0];
break;
}