Revert "Remove setting the IsStart flag when receiving a startup signal" 43/301543/1
authorChanggyu Choi <changyu.choi@samsung.com>
Mon, 20 Nov 2023 01:57:41 +0000 (10:57 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Mon, 20 Nov 2023 01:58:40 +0000 (10:58 +0900)
This reverts commit 89867461c651321e129d088eae77faaf21fa2b81.

Change-Id: If74f63ef0f1001b4186f49b12eb425227db355a5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/lib/amd_launch.cc

index 4e7b1e8..629f4f1 100644 (file)
@@ -896,6 +896,8 @@ static int DispatchAppStartupSignal(request_h request) {
   if (app_status == nullptr)
     return -1;
 
+  app_status->SetStarting(true);
+  app_status->UnsetStartupTimer();
   amd::AppStatusManager::GetInst().UpdateAppStatusDAO(app_status);
   if (app_status->GetAppType() == AT_UI_APP &&
       app_status->GetStatus() != STATUS_VISIBLE)