diff --git a/services/common/src/bundle_active_core.cpp b/services/common/src/bundle_active_core.cpp index c5467ed22353346f1df5ed9c78e22a72f35bd674..49800e06656ea88034386840e2f3c169a04a4031 100644 --- a/services/common/src/bundle_active_core.cpp +++ b/services/common/src/bundle_active_core.cpp @@ -55,8 +55,10 @@ BundleActiveCore::BundleActiveCore() currentUsedUser_ = -1; if (DEBUG_ON) { flushInterval_ = TWO_MINUTE; + debugCore_ = true; } else { flushInterval_ = THIRTY_MINUTE; + debugCore_ = false; } } diff --git a/services/packagegroup/src/bundle_active_group_handler.cpp b/services/packagegroup/src/bundle_active_group_handler.cpp index 53bef3cf31d91d6892d075e11e930f958841ad14..5654ef17d65b39bb76249f8eda98c25013a3937d 100644 --- a/services/packagegroup/src/bundle_active_group_handler.cpp +++ b/services/packagegroup/src/bundle_active_group_handler.cpp @@ -30,7 +30,7 @@ BundleActiveGroupHandler::BundleActiveGroupHandler (const std::shared_ptr &runner, const bool debug) : AppExecFwk::EventHandler(runner) { if (debug) { - checkIdleInterval_ = TWO_MINUTE; + checkIdleInterval_ = ONE_MINUTE; } else { checkIdleInterval_ = THREE_HOUR; }