diff --git a/bundle.json b/bundle.json index 08e37f6c89813c4eff755028aa98286710f629be..f6b914c09db853c7f271eb82b6c054675555b309 100755 --- a/bundle.json +++ b/bundle.json @@ -32,7 +32,9 @@ "window_manager_feature_cam_mode", "window_manager_feature_multi_usr", "window_manager_feature_screenless", - "window_manager_feature_asbng_path" + "window_manager_feature_asbng_path", + "window_manager_feature_support_dsoftbus", + "window_manager_feature_support_dmsfwk" ], "adapted_system_type": [ "standard" ], "rom": "8000KB", diff --git a/test/fuzztest/window_scene/pictureinpicture_fuzzer/BUILD.gn b/test/fuzztest/window_scene/pictureinpicture_fuzzer/BUILD.gn index 9d46aba8b888bb7aaf412e776775e88cd0036b07..4aa7fc5872b44bddd902eb5c25f01f85cc412a53 100644 --- a/test/fuzztest/window_scene/pictureinpicture_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/pictureinpicture_fuzzer/BUILD.gn @@ -72,7 +72,6 @@ ohos_fuzztest("PictureInPictureFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -89,6 +88,11 @@ ohos_fuzztest("PictureInPictureFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubattribute_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubattribute_fuzzer/BUILD.gn index bba75d5cce4cfb872618e3789cc79290c82a3987..41fc34c68d5d2de12f40cba0bc1e93ac107d7333 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubattribute_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubattribute_fuzzer/BUILD.gn @@ -73,7 +73,6 @@ ohos_fuzztest("SceneSessionMgrLStubAttributeFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -89,6 +88,11 @@ ohos_fuzztest("SceneSessionMgrLStubAttributeFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubget_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubget_fuzzer/BUILD.gn index b20220c66e7bfbaf45426eb8672b81cecce2956e..3c2de3a898ca5264c3963a3f00ea5e2fa4ebcdc3 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubget_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubget_fuzzer/BUILD.gn @@ -77,7 +77,6 @@ ohos_fuzztest("SceneSessionMgrLStubGetFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -93,6 +92,11 @@ ohos_fuzztest("SceneSessionMgrLStubGetFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubhierarchy_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubhierarchy_fuzzer/BUILD.gn index 163fb1a1e91dd0188b7873f023614aa35f347d16..8a306f6f7a8810c0de938ec5340057d21856736b 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubhierarchy_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubhierarchy_fuzzer/BUILD.gn @@ -77,7 +77,6 @@ ohos_fuzztest("SceneSessionMgrLStubHierarchyFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -93,6 +92,11 @@ ohos_fuzztest("SceneSessionMgrLStubHierarchyFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstublayout_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstublayout_fuzzer/BUILD.gn index 23713d26b6aabdf03f3f18c857b23cce231ff36e..f370d41d18e7210b5b5a59e89ac9b0dfa70d2114 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstublayout_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstublayout_fuzzer/BUILD.gn @@ -71,7 +71,6 @@ ohos_fuzztest("SceneSessionMgrLStubLayoutFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -90,6 +89,11 @@ ohos_fuzztest("SceneSessionMgrLStubLayoutFuzzTest") { "graphic_2d:window_animation", "input:libmmi-napi", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubnorthbound_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubnorthbound_fuzzer/BUILD.gn index 4887191c255f182b074eced2a1eff3a056e2ed73..9594f94d5d57ce024c849bfbfd0a39b7347ea447 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubnorthbound_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubnorthbound_fuzzer/BUILD.gn @@ -71,7 +71,6 @@ ohos_fuzztest("SceneSessionMgrLStubNorthBoundFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -89,6 +88,11 @@ ohos_fuzztest("SceneSessionMgrLStubNorthBoundFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubpc_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubpc_fuzzer/BUILD.gn index 64e50d8864a2dfe415b0e6c7d9a758bc602b6f70..5b1c7545dd255bf51a8cb0d1f4a844b6ad1f2f2f 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubpc_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubpc_fuzzer/BUILD.gn @@ -71,7 +71,6 @@ ohos_fuzztest("SceneSessionMgrLStubPcFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -87,6 +86,11 @@ ohos_fuzztest("SceneSessionMgrLStubPcFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubreg_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubreg_fuzzer/BUILD.gn index 062eeed0da6d20170a4667c2e95869e85c3c3ef4..1e44d9946e8aa96ba7d82464d679bfac2be49430 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubreg_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubreg_fuzzer/BUILD.gn @@ -77,7 +77,6 @@ ohos_fuzztest("SceneSessionMgrLStubRegFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -93,6 +92,11 @@ ohos_fuzztest("SceneSessionMgrLStubRegFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubset_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubset_fuzzer/BUILD.gn index 9034bd6d33013f18d3d286bece41df05f2a3a3b8..c2834ed3f0d1c7487e21bcf078515754698f07b5 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubset_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubset_fuzzer/BUILD.gn @@ -77,7 +77,6 @@ ohos_fuzztest("SceneSessionMgrLStubSetFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -93,6 +92,11 @@ ohos_fuzztest("SceneSessionMgrLStubSetFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/test/fuzztest/window_scene/scenesessionmgrlstubuec_fuzzer/BUILD.gn b/test/fuzztest/window_scene/scenesessionmgrlstubuec_fuzzer/BUILD.gn index dbbbd98991e15bec98eddd105f2f864c2447b5b3..ae333051279bd18fcd5a3613410a3e1da8d59f9b 100644 --- a/test/fuzztest/window_scene/scenesessionmgrlstubuec_fuzzer/BUILD.gn +++ b/test/fuzztest/window_scene/scenesessionmgrlstubuec_fuzzer/BUILD.gn @@ -77,7 +77,6 @@ ohos_fuzztest("SceneSessionMgrLStubUecFuzzTest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_client", @@ -93,6 +92,11 @@ ohos_fuzztest("SceneSessionMgrLStubUecFuzzTest") { "resource_management:global_resmgr", "samgr:samgr_proxy", ] + defines = [] + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } } ############################################################################### diff --git a/window_scene/session_manager/BUILD.gn b/window_scene/session_manager/BUILD.gn index 3b355dba1037a69e64f0d68995b59d502eedf445..a42a45216d142904d792de533a8101345fc8363c 100644 --- a/window_scene/session_manager/BUILD.gn +++ b/window_scene/session_manager/BUILD.gn @@ -64,7 +64,6 @@ ohos_shared_library("scene_session_manager") { sources = [ "../../wm/src/zidl/window_manager_agent_proxy.cpp", "src/anomaly_detection.cpp", - "src/distributed_client.cpp", "src/extension_session_manager.cpp", "src/ffrt_queue_helper.cpp", "src/hidump_controller.cpp", @@ -131,7 +130,6 @@ ohos_shared_library("scene_session_manager") { "bundle_framework:libappexecfwk_common", "c_utils:utils", "config_policy:configpolicy_util", - "dsoftbus:softbus_client", "eventhandler:libeventhandler", "ffrt:libffrt", "graphic_2d:librender_service_base", @@ -154,12 +152,22 @@ ohos_shared_library("scene_session_manager") { ] defines = [] + if (window_manager_feature_support_dmsfwk) { + sources +=[ "src/distributed_client.cpp" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK" ] + } + if (defined(global_parts_info) && defined(global_parts_info.resourceschedule_memmgr_override)) { external_deps += [ "memmgr:memmgrclient" ] defines += [ "MEMMGR_WINDOW_ENABLE" ] } + if (window_manager_feature_support_dsoftbus) { + external_deps += [ "dsoftbus:softbus_client" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS" ] + } + if (defined(global_parts_info) && defined(global_parts_info.powermgr_power_manager)) { external_deps += [ "power_manager:powermgr_client" ] diff --git a/window_scene/session_manager/include/distributed_client.h b/window_scene/session_manager/include/distributed_client.h index 797412ac4eb1f8e26d17ff6df53be9c933b414e6..8511a8d1f02a12aefde8ad5e3013733593c0482a 100644 --- a/window_scene/session_manager/include/distributed_client.h +++ b/window_scene/session_manager/include/distributed_client.h @@ -15,6 +15,7 @@ #ifndef OHOS_ROSEN_WINDOW_SCENE_DISTRIBUTED_CLIENT_H #define OHOS_ROSEN_WINDOW_SCENE_DISTRIBUTED_CLIENT_H +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK #include @@ -72,4 +73,5 @@ private: }; } // namespace Rosen } // namespace OHOS +#endif // WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK #endif // OHOS_ROSEN_WINDOW_SCENE_DISTRIBUTED_CLIENT_H diff --git a/window_scene/session_manager/src/distributed_client.cpp b/window_scene/session_manager/src/distributed_client.cpp index 31c9b05c788ed8514e5c5fd1fa96e6631bbb4e2f..ffd15623fa4c88235578413d3e83fce8c35e7c70 100644 --- a/window_scene/session_manager/src/distributed_client.cpp +++ b/window_scene/session_manager/src/distributed_client.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK #include "distributed_client.h" #include "ability_manager_errors.h" @@ -189,3 +190,4 @@ int32_t DistributedClient::SetMissionContinueState(int32_t missionId, const AAFw } } // namespace Rosen } // namespace OHOS +#endif \ No newline at end of file diff --git a/window_scene/session_manager/src/scene_session_manager.cpp b/window_scene/session_manager/src/scene_session_manager.cpp index bb1d458c4efb53f5b8d8e163dc7c639ac7f18dd3..90977aae618d8f9fcbff19f034ca6bb0e9d5deee 100644 --- a/window_scene/session_manager/src/scene_session_manager.cpp +++ b/window_scene/session_manager/src/scene_session_manager.cpp @@ -51,7 +51,9 @@ #include "common/include/fold_screen_state_internel.h" #include "common/include/session_permission.h" #include "display_manager.h" +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK #include "distributed_client.h" +#endif #include "dms_reporter.h" #include "hidump_controller.h" #include "image_source.h" @@ -75,7 +77,9 @@ #include "session_helper.h" #include "session_manager_agent_controller.h" #include "singleton_container.h" +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DSOFTBUS #include "softbus_bus_center.h" +#endif #include "user_switch_reporter.h" #include "window_helper.h" #include "xcollie/watchdog.h" @@ -946,8 +950,10 @@ WSError SceneSessionManager::SetSessionContinueState(const sptr& return WSError::WS_ERROR_INVALID_PARAM; } sceneSession->SetSessionInfoContinueState(continueState); +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK DistributedClient::GetInstance().SetMissionContinueState(sceneSession->GetPersistentId(), static_cast(continueState), callingUid); +#endif TLOGNI(WmsLogTag::WMS_LIFE, "%{public}s: id:%{public}d, continueState:%{public}d", where, sceneSession->GetPersistentId(), continueState); return WSError::WS_OK; @@ -9476,6 +9482,7 @@ WSError SceneSessionManager::GetMainWindowStatesByPid(int32_t pid, std::vectorPostSyncTask(task, "GetMainWindowStatesByPid"); } +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK int SceneSessionManager::GetRemoteSessionInfos(const std::string& deviceId, int32_t numMax, std::vector& sessionInfos) { @@ -9487,6 +9494,7 @@ int SceneSessionManager::GetRemoteSessionInfos(const std::string& deviceId, int3 } return ERR_OK; } +#endif WSError SceneSessionManager::GetSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) @@ -9576,10 +9584,12 @@ int SceneSessionManager::GetRemoteSessionInfo(const std::string& deviceId, { TLOGI(WmsLogTag::DEFAULT, "in"); std::vector sessionVector; +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK int result = GetRemoteSessionInfos(deviceId, MAX_NUMBER_OF_DISTRIBUTED_SESSIONS, sessionVector); if (result != ERR_OK) { return result; } +#endif for (auto iter = sessionVector.begin(); iter != sessionVector.end(); iter++) { if (iter->id == persistentId) { sessionInfo = *iter; @@ -9611,6 +9621,7 @@ bool SceneSessionManager::CheckIsRemote(const std::string& deviceId) bool SceneSessionManager::GetLocalDeviceId(std::string& localDeviceId) { +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK auto localNode = std::make_unique(); int32_t errCode = GetLocalNodeDeviceInfo(DM_PKG_NAME.c_str(), localNode.get()); if (errCode != ERR_OK) { @@ -9622,6 +9633,7 @@ bool SceneSessionManager::GetLocalDeviceId(std::string& localDeviceId) TLOGD(WmsLogTag::DEFAULT, "get local deviceId, deviceId=%{public}s", AnonymizeDeviceId(localDeviceId).c_str()); return true; } +#endlf TLOGE(WmsLogTag::DEFAULT, "localDeviceId null"); return false; } @@ -10050,6 +10062,7 @@ WSError SceneSessionManager::GetUIContentRemoteObj(int32_t persistentId, sptrGetUIContentRemoteObj(uiContentRemoteObj); } +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK int SceneSessionManager::GetRemoteSessionSnapshotInfo(const std::string& deviceId, int32_t sessionId, AAFwk::MissionSnapshot& sessionSnapshot) { @@ -10062,6 +10075,7 @@ int SceneSessionManager::GetRemoteSessionSnapshotInfo(const std::string& deviceI } return ERR_OK; } +#endif sptr SceneSessionManager::GetCollaboratorByType(int32_t collaboratorType) { diff --git a/window_scene/test/unittest/BUILD.gn b/window_scene/test/unittest/BUILD.gn index 61db84a37b6799e2feeb9b4d9dd9be23674b8330..b62490c52e6deb728580c2204e764c006188c038 100644 --- a/window_scene/test/unittest/BUILD.gn +++ b/window_scene/test/unittest/BUILD.gn @@ -23,7 +23,6 @@ group("unittest") { ":ws_anomaly_detection_test", ":ws_compatible_mode_property_test", ":ws_dfx_hisysevent_test", - ":ws_distributed_client_test", ":ws_ffrt_helper_test", ":ws_main_session_lifecycle_test", ":ws_move_drag_controller_test", @@ -90,6 +89,11 @@ group("unittest") { "window_recover:ws_window_recover_session_test", ] + if (window_manager_feature_support_dmsfwk) { + deps += [ "":ws_distributed_client_test"" ] + defines = [ "WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK" ] + } + if (window_manager_use_sceneboard) { deps += [ ":ws_hidumper_controller_test", @@ -1318,10 +1322,13 @@ ohos_unittest("ws_session_stub_property_test") { ohos_unittest("ws_distributed_client_test") { module_out_path = module_out_path - sources = [ - "../mock/mock_message_parcel.cpp", - "distributed_client_test.cpp", - ] + sources = [ "../mock/mock_message_parcel.cpp" ] + defines = [] + + if (window_manager_feature_support_dmsfwk) { + sources += [ "distributed_client_test.cpp" ] + defines += [ "WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK" ] + } deps = [ ":ws_unittest_common" ] diff --git a/window_scene/test/unittest/distributed_client_test.cpp b/window_scene/test/unittest/distributed_client_test.cpp index d585888a7541ca64bb96988be08d3b54c6a25e04..cb1be0a70c2bdbe75deb659c1acab885c0d2bb65 100644 --- a/window_scene/test/unittest/distributed_client_test.cpp +++ b/window_scene/test/unittest/distributed_client_test.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +#ifdef WINDOW_MANAGER_FEATURE_SUPPORT_DMSFWK #include #include "ability_manager_errors.h" @@ -236,3 +237,4 @@ HWTEST_F(DistributedClientTest, SetMissionContinueState03, TestSize.Level1) } } // namespace Rosen } // namespace OHOS +#endif \ No newline at end of file