From d79e6d494de5aa93ead559c418ee4044f6f83448 Mon Sep 17 00:00:00 2001 From: wang19954 Date: Thu, 4 Sep 2025 14:59:30 +0800 Subject: [PATCH] IssueNo:#ICWCUU Description:fix create new user 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 387a6e23da..e085e8f8e7 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