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 32233e4469c7694ddaf6b59a2618d0df88a14ec7..bfd2960e4b8ebc33783ea65319f6f6c1494213c4 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); }