Fix wrong exception handling 76/324276/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 15 May 2025 06:19:15 +0000 (15:19 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 15 May 2025 06:19:15 +0000 (15:19 +0900)
To check whether the application is disabled or not, the amd should not
return an error immediately.

Change-Id: I8f6bb6fddccec85fcdabce34beb2921fcddde2f1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/launch/step_prepare_starting_app.cc

index 57fc92c44c90c4510aec885bb677a446ccde6202..1adcf72ba3eeea758a80baebb282a7738c4ef42b 100644 (file)
@@ -560,7 +560,6 @@ int StepPrepareStartingApp::FindAndSetAppInfo(LaunchContext* context) {
           context->GetTargetUid(), context->GetAppId()) != 0) {
       _E("Failed to insert appinfo. uid(%u), appid(%s)",
           context->GetTargetUid(), context->GetAppId().c_str());
-      return -ENOENT;
     }
 
     app_info = _appinfo_find(context->GetTargetUid(),