From 6fc12264b7425f6fa39e13a9b701e2a098cf4d6b Mon Sep 17 00:00:00 2001 From: Lotol <9768870+lotol@user.noreply.gitee.com> Date: Tue, 21 Dec 2021 06:25:41 +0000 Subject: [PATCH 1/3] new Signed-off-by: Lotol <9768870+lotol@user.noreply.gitee.com> Change-Id: If0c99574ad00492cf916d8e4aca9be7ea20c5669 --- .../include/dispatcher/parallel_task_dispatcher_base.h | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/innerkits/task_dispatcher/include/dispatcher/parallel_task_dispatcher_base.h b/interfaces/innerkits/task_dispatcher/include/dispatcher/parallel_task_dispatcher_base.h index 22b248f0df..34d9d566de 100644 --- a/interfaces/innerkits/task_dispatcher/include/dispatcher/parallel_task_dispatcher_base.h +++ b/interfaces/innerkits/task_dispatcher/include/dispatcher/parallel_task_dispatcher_base.h @@ -115,7 +115,6 @@ private: } }; }; - } // namespace AppExecFwk } // namespace OHOS #endif \ No newline at end of file -- Gitee From 4d3d9affe3eebf628b410f730551249051ef9635 Mon Sep 17 00:00:00 2001 From: Lotol <9768870+lotol@user.noreply.gitee.com> Date: Tue, 21 Dec 2021 06:52:08 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=E9=9D=99=E6=80=81=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lotol <9768870+lotol@user.noreply.gitee.com> Change-Id: Ifdc62ba89f8da61193bd4686864f14f8d21d788b --- .../innerkits/appexecfwk_base/include/launcher_ability_info.h | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/innerkits/appexecfwk_base/include/launcher_ability_info.h b/interfaces/innerkits/appexecfwk_base/include/launcher_ability_info.h index cc4fca2bf5..ccd75808ec 100644 --- a/interfaces/innerkits/appexecfwk_base/include/launcher_ability_info.h +++ b/interfaces/innerkits/appexecfwk_base/include/launcher_ability_info.h @@ -23,7 +23,6 @@ namespace OHOS { namespace AppExecFwk { - struct LauncherAbilityInfo { public: std::string name; // ability name, only the main class name -- Gitee From b2c700a3490f78ff3587a95804b3627f05310b46 Mon Sep 17 00:00:00 2001 From: Lotol <9768870+lotol@user.noreply.gitee.com> Date: Tue, 21 Dec 2021 08:57:02 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E9=9D=99=E6=80=81=E5=91=8A=E8=AD=A6=5F?= =?UTF-8?q?=E7=A9=BA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lotol <9768870+lotol@user.noreply.gitee.com> Change-Id: Ie49e003b3ea42ff0f46328daf3b163d3edc9b8db --- .../include/bundlemgr/bundle_mgr_host.h | 1 - .../include/bundlemgr/bundle_mgr_interface.h | 1 - .../include/bundlemgr/bundle_mgr_proxy.h | 1 - .../appexecfwk_core/src/bundlemgr/bundle_mgr_host.cpp | 1 - .../appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp | 1 - .../innerkits/task_dispatcher/src/task/sync_task.cpp | 1 - .../test/Mock/include/mock_ability_mgr_service.h | 1 - .../ams_service_load_ability_process_test.cpp | 1 - services/bundlemgr/include/base_bundle_installer.h | 1 - services/bundlemgr/include/bundle_data_mgr.h | 1 - services/bundlemgr/include/bundle_installer.h | 1 - services/bundlemgr/include/bundle_mgr_host_impl.h | 2 -- services/bundlemgr/include/bundle_mgr_service.h | 10 +++++----- services/bundlemgr/include/inner_bundle_info.h | 1 - services/bundlemgr/src/base_bundle_installer.cpp | 3 --- services/bundlemgr/src/bundle_data_mgr.cpp | 2 -- .../bundlemgr/src/bundle_data_storage_database.cpp | 1 - services/bundlemgr/src/bundle_mgr_host_impl.cpp | 2 -- services/bundlemgr/src/bundle_mgr_service.cpp | 1 - services/bundlemgr/src/bundle_profile.cpp | 2 -- services/bundlemgr/src/inner_bundle_info.cpp | 2 -- services/bundlemgr/src/module_usage_data_storage.cpp | 1 - .../bms_bundle_kit_service_test.cpp | 3 --- .../ams_app_life_cycle_module_test.cpp | 1 - .../include/kit_test_ability_manager.h | 1 - 25 files changed, 5 insertions(+), 38 deletions(-) diff --git a/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_host.h b/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_host.h index 689a9e00c9..5ed482fc1a 100644 --- a/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_host.h +++ b/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_host.h @@ -457,7 +457,6 @@ private: DISALLOW_COPY_AND_MOVE(BundleMgrHost); }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_INTERFACES_INNERKITS_APPEXECFWK_CORE_INCLUDE_BUNDLEMGR_BUNDLE_MGR_HOST_H \ No newline at end of file diff --git a/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_interface.h b/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_interface.h index 42ebdaa339..8d2bb1a831 100644 --- a/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_interface.h +++ b/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_interface.h @@ -542,7 +542,6 @@ public: CHECK_BUNDLE_NAME_IN_ALLOWLIST }; }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_INTERFACES_INNERKITS_APPEXECFWK_CORE_INCLUDE_BUNDLEMGR_BUNDLE_MGR_INTERFACE_H diff --git a/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_proxy.h b/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_proxy.h index 3c889fe005..3701701f9e 100644 --- a/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_proxy.h +++ b/interfaces/innerkits/appexecfwk_core/include/bundlemgr/bundle_mgr_proxy.h @@ -499,7 +499,6 @@ private: bool GetParcelableInfos(IBundleMgr::Message code, MessageParcel &data, std::vector &parcelableInfos); static inline BrokerDelegator delegator_; }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_INTERFACES_INNERKITS_APPEXECFWK_CORE_INCLUDE_BUNDLEMGR_BUNDLE_MGR_PROXY_H \ No newline at end of file diff --git a/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_host.cpp b/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_host.cpp index 47804ce3e0..9d60635587 100755 --- a/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_host.cpp +++ b/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_host.cpp @@ -1275,6 +1275,5 @@ bool BundleMgrHost::WriteParcelableVector(std::vector &parcelableVector, Parc } return true; } - } // namespace AppExecFwk } // namespace OHOS diff --git a/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp b/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp index 57a81f577f..a1ba834268 100644 --- a/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp +++ b/interfaces/innerkits/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp @@ -1651,6 +1651,5 @@ bool BundleMgrProxy::SendTransactCmd(IBundleMgr::Message code, MessageParcel &da } return true; } - } // namespace AppExecFwk } // namespace OHOS \ No newline at end of file diff --git a/interfaces/innerkits/task_dispatcher/src/task/sync_task.cpp b/interfaces/innerkits/task_dispatcher/src/task/sync_task.cpp index a551df0e43..e37e61e1a0 100644 --- a/interfaces/innerkits/task_dispatcher/src/task/sync_task.cpp +++ b/interfaces/innerkits/task_dispatcher/src/task/sync_task.cpp @@ -58,6 +58,5 @@ void SyncTask::WaitTask() APP_LOGI("SyncTask::WaitTask end thread=%{public}zu", CalculateHashCode(threadId)); } - } // namespace AppExecFwk } // namespace OHOS diff --git a/kits/appkit/test/Mock/include/mock_ability_mgr_service.h b/kits/appkit/test/Mock/include/mock_ability_mgr_service.h index 0b239e2e73..c2758930c1 100644 --- a/kits/appkit/test/Mock/include/mock_ability_mgr_service.h +++ b/kits/appkit/test/Mock/include/mock_ability_mgr_service.h @@ -83,7 +83,6 @@ private: bool DumpStateCalled_ = false; Semaphore sem_; }; - } // namespace AAFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_KITS_APPKIT_TEST_MOCK_ABILITY_MGR_SERVICE_H \ No newline at end of file diff --git a/services/appmgr/test/unittest/ams_service_load_ability_process_test/ams_service_load_ability_process_test.cpp b/services/appmgr/test/unittest/ams_service_load_ability_process_test/ams_service_load_ability_process_test.cpp index be3048ca3f..7f6b900c07 100644 --- a/services/appmgr/test/unittest/ams_service_load_ability_process_test/ams_service_load_ability_process_test.cpp +++ b/services/appmgr/test/unittest/ams_service_load_ability_process_test/ams_service_load_ability_process_test.cpp @@ -1132,6 +1132,5 @@ HWTEST_F(AmsServiceLoadAbilityProcessTest, StartProcess004, TestSize.Level1) EXPECT_EQ(record1, nullptr); APP_LOGI("AmsServiceLoadAbilityProcessTest StartProcess004 end"); } - } // namespace AppExecFwk } // namespace OHOS \ No newline at end of file diff --git a/services/bundlemgr/include/base_bundle_installer.h b/services/bundlemgr/include/base_bundle_installer.h index 033dc7a5ee..45a94aff31 100644 --- a/services/bundlemgr/include/base_bundle_installer.h +++ b/services/bundlemgr/include/base_bundle_installer.h @@ -263,7 +263,6 @@ private: DISALLOW_COPY_AND_MOVE(BaseBundleInstaller); }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_SERVICES_BUNDLEMGR_INCLUDE_BASE_BUNDLE_INSTALLER_H \ No newline at end of file diff --git a/services/bundlemgr/include/bundle_data_mgr.h b/services/bundlemgr/include/bundle_data_mgr.h index 4be16d6a22..29d92664d9 100755 --- a/services/bundlemgr/include/bundle_data_mgr.h +++ b/services/bundlemgr/include/bundle_data_mgr.h @@ -587,7 +587,6 @@ private: // map. std::map>> permissionsCallbacks_; }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_SERVICES_BUNDLEMGR_INCLUDE_BUNDLE_DATA_MGR_H diff --git a/services/bundlemgr/include/bundle_installer.h b/services/bundlemgr/include/bundle_installer.h index 896ade5c74..4e653ab05c 100644 --- a/services/bundlemgr/include/bundle_installer.h +++ b/services/bundlemgr/include/bundle_installer.h @@ -83,7 +83,6 @@ private: const sptr statusReceiver_; DISALLOW_COPY_AND_MOVE(BundleInstaller); }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_SERVICES_BUNDLEMGR_INCLUDE_BUNDLE_INSTALLER_H \ No newline at end of file diff --git a/services/bundlemgr/include/bundle_mgr_host_impl.h b/services/bundlemgr/include/bundle_mgr_host_impl.h index d6ec4e92bd..ef3c0ca29b 100644 --- a/services/bundlemgr/include/bundle_mgr_host_impl.h +++ b/services/bundlemgr/include/bundle_mgr_host_impl.h @@ -22,7 +22,6 @@ namespace OHOS { namespace AppExecFwk { - class BundleMgrHostImpl : public BundleMgrHost { public: /** @@ -448,7 +447,6 @@ private: const std::shared_ptr GetCloneMgrFromService(); const std::shared_ptr GetDataMgrFromService(); }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_SERVICES_BUNDLEMGR_INCLUDE_BUNDLE_MGR_HOST_IMPL_H diff --git a/services/bundlemgr/include/bundle_mgr_service.h b/services/bundlemgr/include/bundle_mgr_service.h index 7969f3cd89..39645e2528 100644 --- a/services/bundlemgr/include/bundle_mgr_service.h +++ b/services/bundlemgr/include/bundle_mgr_service.h @@ -49,14 +49,15 @@ public: * @return Returns true if the bundle manager service is ready; returns false otherwise. */ bool IsServiceReady() const; + /** + * @brief Get a shared pointer to the BundleCloneMgr object. + * @return Returns the pointer of BundleCloneMgr object. + */ + const std::shared_ptr GetCloneMgr() const; /** * @brief Get a shared pointer to the BundleDataMgr object. * @return Returns the pointer of BundleDataMgr object. */ - const std::shared_ptr GetCloneMgr() const; - - - const std::shared_ptr GetDataMgr() const; /** * @brief Get a IBundleInstaller object for IPC @@ -90,7 +91,6 @@ private: DISALLOW_COPY_AND_MOVE(BundleMgrService); }; - } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_SERVICES_BUNDLEMGR_INCLUDE_BUNDLE_MGR_SERVICE_H diff --git a/services/bundlemgr/include/inner_bundle_info.h b/services/bundlemgr/include/inner_bundle_info.h index a320c6709c..afdcfdff9c 100644 --- a/services/bundlemgr/include/inner_bundle_info.h +++ b/services/bundlemgr/include/inner_bundle_info.h @@ -1105,7 +1105,6 @@ public: */ void GetCommonEvents(const std::string &eventKey, std::vector &commonEvents) const; - std::optional GetInnerModuleInfoByModuleName(const std::string &moduleName) const; void GetModuleNames(std::vector &moduleNames) const; diff --git a/services/bundlemgr/src/base_bundle_installer.cpp b/services/bundlemgr/src/base_bundle_installer.cpp index 5dc8382785..4172814fa8 100755 --- a/services/bundlemgr/src/base_bundle_installer.cpp +++ b/services/bundlemgr/src/base_bundle_installer.cpp @@ -39,7 +39,6 @@ namespace OHOS { namespace AppExecFwk { namespace { - bool UninstallApplicationProcesses(const std::string &bundleName, const int uid) { APP_LOGI("uninstall kill running processes, app name is %{public}s", bundleName.c_str()); @@ -55,7 +54,6 @@ bool UninstallApplicationProcesses(const std::string &bundleName, const int uid) } return true; } - } // namespace BaseBundleInstaller::BaseBundleInstaller() @@ -683,6 +681,5 @@ bool BaseBundleInstaller::UpdateBundlePaths(InnerBundleInfo &info, const std::st info.SetAppCacheDir(baseDataPath + Constants::PATH_SEPARATOR + Constants::CACHE_DIR); return true; } - } // namespace AppExecFwk } // namespace OHOS \ No newline at end of file diff --git a/services/bundlemgr/src/bundle_data_mgr.cpp b/services/bundlemgr/src/bundle_data_mgr.cpp index b357441569..c7761bfdd1 100755 --- a/services/bundlemgr/src/bundle_data_mgr.cpp +++ b/services/bundlemgr/src/bundle_data_mgr.cpp @@ -33,7 +33,6 @@ namespace OHOS { namespace AppExecFwk { - BundleDataMgr::BundleDataMgr() { InitStateTransferMap(); @@ -1993,6 +1992,5 @@ bool BundleDataMgr::GetClonedBundleName(const std::string &bundleName, std::stri return false; APP_LOGI("GetCloneBundleName finish"); } - } // namespace AppExecFwk } // namespace OHOS \ No newline at end of file diff --git a/services/bundlemgr/src/bundle_data_storage_database.cpp b/services/bundlemgr/src/bundle_data_storage_database.cpp index 176abafc23..b740a3cd56 100644 --- a/services/bundlemgr/src/bundle_data_storage_database.cpp +++ b/services/bundlemgr/src/bundle_data_storage_database.cpp @@ -292,6 +292,5 @@ bool BundleDataStorageDatabase::ResetKvStore() APP_LOGW("failed"); return false; } - } // namespace AppExecFwk } // namespace OHOS \ No newline at end of file diff --git a/services/bundlemgr/src/bundle_mgr_host_impl.cpp b/services/bundlemgr/src/bundle_mgr_host_impl.cpp index 98955c46e2..1aa6c6243c 100755 --- a/services/bundlemgr/src/bundle_mgr_host_impl.cpp +++ b/services/bundlemgr/src/bundle_mgr_host_impl.cpp @@ -28,7 +28,6 @@ namespace OHOS { namespace AppExecFwk { - bool BundleMgrHostImpl::GetApplicationInfo( const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo) { @@ -719,6 +718,5 @@ const std::shared_ptr BundleMgrHostImpl::GetDataMgrFromService() { return DelayedSingleton::GetInstance()->GetDataMgr(); } - } // namespace AppExecFwk } // namespace OHOS diff --git a/services/bundlemgr/src/bundle_mgr_service.cpp b/services/bundlemgr/src/bundle_mgr_service.cpp index 3222f5a32a..6a6d47b4c7 100644 --- a/services/bundlemgr/src/bundle_mgr_service.cpp +++ b/services/bundlemgr/src/bundle_mgr_service.cpp @@ -195,6 +195,5 @@ void BundleMgrService::SelfClean() } } } - } // namespace AppExecFwk } // namespace OHOS diff --git a/services/bundlemgr/src/bundle_profile.cpp b/services/bundlemgr/src/bundle_profile.cpp index f29e758be8..3951bf767d 100644 --- a/services/bundlemgr/src/bundle_profile.cpp +++ b/services/bundlemgr/src/bundle_profile.cpp @@ -2168,7 +2168,6 @@ bool TransformToInfo(ProfileReader::ConfigJson &configJson, InnerBundleInfo &inn innerBundleInfo.InsertInnerModuleInfo(configJson.module.package, innerModuleInfo); return true; } - } // namespace ErrCode BundleProfile::TransformTo(const std::ostringstream &source, InnerBundleInfo &innerBundleInfo) const @@ -2193,6 +2192,5 @@ ErrCode BundleProfile::TransformTo(const std::ostringstream &source, InnerBundle } return ERR_OK; } - } // namespace AppExecFwk } // namespace OHOS diff --git a/services/bundlemgr/src/inner_bundle_info.cpp b/services/bundlemgr/src/inner_bundle_info.cpp index e9e1cf71a7..3f25695ed8 100644 --- a/services/bundlemgr/src/inner_bundle_info.cpp +++ b/services/bundlemgr/src/inner_bundle_info.cpp @@ -61,7 +61,6 @@ const std::string MODULE_SHORTCUT = "shortcutInfos"; const std::string MODULE_COMMON_EVENT = "commonEvents"; const std::string MODULE_MAIN_ABILITY = "mainAbility"; const std::string NEW_BUNDLE_NAME = "newBundleName"; - } // namespace InnerBundleInfo::InnerBundleInfo() @@ -1149,6 +1148,5 @@ void InnerBundleInfo::GetModuleNames(std::vector &moduleNames) cons moduleNames.emplace_back(innerModuleInfo.second.moduleName); } } - } // namespace AppExecFwk } // namespace OHOS \ No newline at end of file diff --git a/services/bundlemgr/src/module_usage_data_storage.cpp b/services/bundlemgr/src/module_usage_data_storage.cpp index 1a0e63a0ff..e160458c99 100644 --- a/services/bundlemgr/src/module_usage_data_storage.cpp +++ b/services/bundlemgr/src/module_usage_data_storage.cpp @@ -372,6 +372,5 @@ bool ModuleUsageRecordStorage::ResetKvStore() APP_LOGW("usage reset failed"); return false; } - } // namespace AppExecFwk } // namespace OHOS diff --git a/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/bms_bundle_kit_service_test.cpp b/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/bms_bundle_kit_service_test.cpp index 3557e746a8..4ab02d7e74 100755 --- a/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/bms_bundle_kit_service_test.cpp +++ b/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/bms_bundle_kit_service_test.cpp @@ -38,7 +38,6 @@ using namespace OHOS::AppExecFwk; using OHOS::AAFwk::Want; namespace { - const std::string BUNDLE_NAME_TEST = "com.example.bundlekit.test"; const std::string MODULE_NAME_TEST = "com.example.bundlekit.test.entry"; const std::string ABILITY_NAME_TEST1 = ".Reading1"; @@ -146,7 +145,6 @@ const std::string COMMON_EVENT_EVENT = "usual.event.PACKAGE_ADDED"; const std::string COMMON_EVENT_EVENT_ERROR_KEY = "usual.event.PACKAGE_ADDED_D"; const std::string COMMON_EVENT_EVENT_NOT_EXISTS_KEY = "usual.event.PACKAGE_REMOVED"; const int FORMINFO_DESCRIPTIONID = 123; - } // namespace class BmsBundleKitServiceTest : public testing::Test { @@ -865,7 +863,6 @@ void BmsBundleKitServiceTest::CheckShortcutInfoTest(std::vector &s void BmsBundleKitServiceTest::CheckCommonEventInfoTest(std::vector &commonEventInfos) const { for (const auto &commonEventInfo : commonEventInfos) { - EXPECT_EQ(commonEventInfo.name, COMMON_EVENT_NAME); EXPECT_EQ(commonEventInfo.bundleName, BUNDLE_NAME_TEST); EXPECT_EQ(commonEventInfo.uid, TEST_UID); diff --git a/services/test/moduletest/common/ams/app_life_cycle_test/ams_app_life_cycle_module_test.cpp b/services/test/moduletest/common/ams/app_life_cycle_test/ams_app_life_cycle_module_test.cpp index 46b9091ede..846325edf5 100755 --- a/services/test/moduletest/common/ams/app_life_cycle_test/ams_app_life_cycle_module_test.cpp +++ b/services/test/moduletest/common/ams/app_life_cycle_test/ams_app_life_cycle_module_test.cpp @@ -1011,7 +1011,6 @@ HWTEST_F(AmsAppLifeCycleModuleTest, StateChange_013, TestSize.Level3) */ HWTEST_F(AmsAppLifeCycleModuleTest, StateChange_014, TestSize.Level1) { - pid_t pid = 1000; sptr token = GetAbilityToken(); auto abilityInfo = GetAbilityInfo("0", "MainAbility", "p1", "com.ohos.test.special"); diff --git a/test/resource/amssystemtestability/abilitySrc/amsKitSTAbilityManagerFirst/include/kit_test_ability_manager.h b/test/resource/amssystemtestability/abilitySrc/amsKitSTAbilityManagerFirst/include/kit_test_ability_manager.h index 1bc3c529ed..8719201374 100644 --- a/test/resource/amssystemtestability/abilitySrc/amsKitSTAbilityManagerFirst/include/kit_test_ability_manager.h +++ b/test/resource/amssystemtestability/abilitySrc/amsKitSTAbilityManagerFirst/include/kit_test_ability_manager.h @@ -189,7 +189,6 @@ private: std::unordered_map> mapTestFunc_; KitTestAbilityManager *kitTestAbility_; }; - } // namespace AppExecFwk } // namespace OHOS #endif //_KIT_TEST_ABILITY_MANAGER_H_ -- Gitee