From: 조웅석/MDE Lab(SR)/삼성전자 Date: Mon, 18 Dec 2023 07:21:04 +0000 (+0900) Subject: Update NativeLauncher/tool/ni_common.cc X-Git-Tag: accepted/tizen/unified/20240220.115648~6 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fdotnet%2Flauncher.git;a=commitdiff_plain;h=d6cbcc29054cdd3524d2f78a88585aa2846513c8 Update NativeLauncher/tool/ni_common.cc Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 --- diff --git a/NativeLauncher/tool/ni_common.cc b/NativeLauncher/tool/ni_common.cc index d0a74c6..bc0a466 100644 --- a/NativeLauncher/tool/ni_common.cc +++ b/NativeLauncher/tool/ni_common.cc @@ -1238,6 +1238,7 @@ ni_error_e regenerateAppNI(NIOption* opt) // remove duplicated pkg in the list. // If one package has multiple apps, there can be duplicate values. + std::sort(pkgList.begin(), pkgList.end()); pkgList.erase(unique(pkgList.begin(), pkgList.end()), pkgList.end()); for (auto pkg : pkgList) {