diff --git a/services/samgr/native/source/main.cpp b/services/samgr/native/source/main.cpp index 947a87fc7bf246b150dd811948e74981534e3c1f..441fb461cfb2be8fa39db4664f8767c4c9c0ce6b 100644 --- a/services/samgr/native/source/main.cpp +++ b/services/samgr/native/source/main.cpp @@ -21,12 +21,14 @@ #include "sam_log.h" #include "system_ability_manager.h" #include "samgr_xcollie.h" +#include "xcollie/watchdog.h" using namespace OHOS; int main(int argc, char *argv[]) { KHILOGI("%{public}s called, enter System Ability Manager ", __func__); + HiviewDFX::Watchdog::GetInstance().InitFfrtWatchdog(); Samgr::MemoryGuard cacheGuard; OHOS::sptr manager = OHOS::SystemAbilityManager::GetInstance(); manager->Init();