Skip to content
Snippets Groups Projects
Commit e2e7c86e authored by Francesco Pham's avatar Francesco Pham
Browse files

openharmony-standard: InnerBundleInfo-initialize-installationFree.patch


add InnerBundleInfo-initialize-installationFree.patch
apply to foundation/appexecfwk/standard

```
InnerModuleInfo: initialize installationFree to false

uninitialized installationFree property of InnerModuleInfo causes 
ActsBmsModuleUsageRecordTest to sometimes fail on 
`expect(data.installationFreeSupported).assertEqual(false);`
Initializing installationFree property to false.
```

Signed-off-by: default avatarFrancesco Pham <francesco.pham@huawei.com>
parent 16ffc1a2
No related branches found
No related tags found
1 merge request!116openharmony-standard: raspberrypi4-64 support
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
InnerModuleInfo: initialize installationFree to false
uninitialized installationFree property of InnerModuleInfo causes
ActsBmsModuleUsageRecordTest to sometimes fail on
`expect(data.installationFreeSupported).assertEqual(false);`
Initializing installationFree property to false.
Apply to foundation/appexecfwk/standard
Upstream-Status: Pending
Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
diff --git a/services/bundlemgr/include/inner_bundle_info.h b/services/bundlemgr/include/inner_bundle_info.h
index de34790d..c7e586f2 100644
--- a/services/bundlemgr/include/inner_bundle_info.h
+++ b/services/bundlemgr/include/inner_bundle_info.h
@@ -73,7 +73,7 @@ struct InnerModuleInfo {
int32_t descriptionId = 0;
std::string mainAbility;
bool isEntry;
- bool installationFree;
+ bool installationFree=false;
MetaData metaData;
ModuleColorMode colorMode = ModuleColorMode::AUTO;
Distro distro;
...@@ -95,6 +95,7 @@ SRC_URI += "file://hisysevent-socket-path.patch;patchdir=${S}/base/hiviewdfx/his ...@@ -95,6 +95,7 @@ SRC_URI += "file://hisysevent-socket-path.patch;patchdir=${S}/base/hiviewdfx/his
SRC_URI += "file://foundation_distributedschedule_safwk-slash-system-symlink.patch;patchdir=${S}/foundation/distributedschedule/safwk" SRC_URI += "file://foundation_distributedschedule_safwk-slash-system-symlink.patch;patchdir=${S}/foundation/distributedschedule/safwk"
SRC_URI += "file://appdatamgr-IsColumnNull-initialize-result.patch;patchdir=${S}/foundation/distributeddatamgr/appdatamgr" SRC_URI += "file://appdatamgr-IsColumnNull-initialize-result.patch;patchdir=${S}/foundation/distributeddatamgr/appdatamgr"
SRC_URI += "file://InnerBundleInfo-initialize-installationFree.patch;patchdir=${S}/foundation/appexecfwk/standard"
SRC_URI += "file://test-xts-acts-fix-Defpermission-typo.patch;patchdir=${S}/test/xts/acts" SRC_URI += "file://test-xts-acts-fix-Defpermission-typo.patch;patchdir=${S}/test/xts/acts"
SRC_URI += "file://test-xts-acts-fix-faultloggertest.patch;patchdir=${S}/test/xts/acts" SRC_URI += "file://test-xts-acts-fix-faultloggertest.patch;patchdir=${S}/test/xts/acts"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment