From: Hwankyu Jhun Date: Fri, 22 Nov 2024 06:30:59 +0000 (+0900) Subject: Modify LoaderContext::Activate() method X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c59db2e1e3e55ae2ebdd65766fc8107410f249f;p=platform%2Fcore%2Fappfw%2Flaunchpad.git Modify LoaderContext::Activate() method To activate the loader, we should check Timeout flag with the detection method. Change-Id: I02659483613537cd9a83604dce200f6ad61e397c Signed-off-by: Hwankyu Jhun --- diff --git a/src/launchpad-process-pool/loader_context.cc b/src/launchpad-process-pool/loader_context.cc index de99fa16..f9b25a5c 100644 --- a/src/launchpad-process-pool/loader_context.cc +++ b/src/launchpad-process-pool/loader_context.cc @@ -498,8 +498,7 @@ void LoaderContext::Activate() { !loader_info_->IsAppInstalled()) return; - if (CanActivate(LoaderMethod::Timeout)) - SetTimer(); + if (CanBeDetected(LoaderMethod::Timeout)) SetTimer(); } void LoaderContext::Deactivate() {