From 1ff434510dcd6bceff63d640d1f7629b964821a0 Mon Sep 17 00:00:00 2001 From: wang19954 Date: Thu, 11 Sep 2025 17:01:01 +0800 Subject: [PATCH] IssueNo:#ICXKJP Description:fix create user bug Sig:SIG_ApplicaitonFramework Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangtiantian --- services/bundlemgr/src/bundle_user_mgr_host_impl.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/bundlemgr/src/bundle_user_mgr_host_impl.cpp b/services/bundlemgr/src/bundle_user_mgr_host_impl.cpp index b95618ef76..98d7058a88 100644 --- a/services/bundlemgr/src/bundle_user_mgr_host_impl.cpp +++ b/services/bundlemgr/src/bundle_user_mgr_host_impl.cpp @@ -196,10 +196,6 @@ void BundleUserMgrHostImpl::OnCreateNewUser(int32_t userId, bool needToSkipPreBu if (dataMgr->HasUserId(userId)) { APP_LOGE("Has create user %{public}d", userId); - ErrCode ret = InnerRemoveUser(userId, false); // no need lock - if (ret != ERR_OK) { - APP_LOGW("remove user %{public}d failed, error %{public}d", userId, ret); - } } dataMgr->AddUserId(userId); -- Gitee