mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-21 08:06:15 -04:00
update services/bundlemgr_lite/src/gt_bundle_manager_service.cpp.
Signed-off-by: shilei91 <shilei91@huawei.com>
This commit is contained in:
@@ -350,6 +350,9 @@ void GtManagerService::InstallAllSystemBundle(InstallerCallback installerCallbac
|
||||
PreAppList *currentNode = nullptr;
|
||||
PreAppList *nextNode = nullptr;
|
||||
LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(currentNode, nextNode, &list->appDoubleList, PreAppList, appDoubleList) {
|
||||
if (currentNode == nullptr) {
|
||||
return;
|
||||
}
|
||||
if ((strcmp(((PreAppList *)currentNode)->filePath, ".") == 0) ||
|
||||
(strcmp(((PreAppList *)currentNode)->filePath, "..") == 0)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user