From 01cf13829fe8a23e98258bf365b91fa5c6e51b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E5=9B=BD=E5=BA=86?= Date: Wed, 30 Jul 2025 15:17:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E7=82=B9=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦国庆 --- .../continuation_manager_stage.cpp | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/frameworks/native/ability/native/continuation/distributed/continuation_manager_stage.cpp b/frameworks/native/ability/native/continuation/distributed/continuation_manager_stage.cpp index 32233e4469c..bfd2960e4b8 100644 --- a/frameworks/native/ability/native/continuation/distributed/continuation_manager_stage.cpp +++ b/frameworks/native/ability/native/continuation/distributed/continuation_manager_stage.cpp @@ -47,8 +47,6 @@ const int32_t CONTINUE_ON_CONTINUE_FAILED = 29360199; const int32_t CONTINUE_ON_CONTINUE_HANDLE_FAILED = 29360300; const int32_t CONTINUE_ON_CONTINUE_MISMATCH = 29360204; #ifdef NO_RUNTIME_EMULATOR -constexpr int32_t TRIGGER_COND_TIMEOUT = 90; -constexpr int32_t TRIGGER_COND_ROW = 30; constexpr int32_t EVENT_RESULT_SUCCESS = 0; constexpr int32_t EVENT_RESULT_FAIL = 1; #endif @@ -213,32 +211,7 @@ static int64_t AddProcessor() { HiAppEvent::ReportConfig config; config.name = "ha_app_event"; - config.appId = "com_hmos_sdk_ocg"; - config.routeInfo = "AUTO"; - config.triggerCond.timeout = TRIGGER_COND_TIMEOUT; - config.triggerCond.row = TRIGGER_COND_ROW; - config.eventConfigs.clear(); - { - HiAppEvent::EventConfig event1; - event1.domain = "api_diagnostic"; - event1.name = "api_exec_end"; - event1.isRealTime = false; - config.eventConfigs.push_back(event1); - } - { - HiAppEvent::EventConfig event2; - event2.domain = "api_diagnostic"; - event2.name = "api_called_stat"; - event2.isRealTime = true; - config.eventConfigs.push_back(event2); - } - { - HiAppEvent::EventConfig event3; - event3.domain = "api_diagnostic"; - event3.name = "api_called_stat_cnt"; - event3.isRealTime = true; - config.eventConfigs.push_back(event3); - } + config.configName = "SDK_OCG"; return HiAppEvent::AppEventProcessorMgr::AddProcessor(config); } -- Gitee