diff --git a/services/appmgr/src/app_running_manager.cpp b/services/appmgr/src/app_running_manager.cpp index 29ec209f24..473325380b 100644 --- a/services/appmgr/src/app_running_manager.cpp +++ b/services/appmgr/src/app_running_manager.cpp @@ -327,7 +327,7 @@ int32_t AppRunningManager::ProcessUpdateApplicationInfoInstalled(const Applicati } auto appInfoList = appRecord->GetAppInfoList(); for (auto iter : appInfoList) { - if (iter->bundleName == appInfo.bundleName) { + if (iter->uid == appInfo.uid) { appRecord->UpdateApplicationInfoInstalled(appInfo); break; }