In the loader case, the process already loaded the aul library.
AppStartupSignal is sent while loading the aul library.
Sending AppStartupSignal is needed in the loader case.
Change-Id: I4968fe72992f24d6bf19c957f43967080602f5f0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
std::placeholders::_1),
std::bind(&StepPrepareExecution::PrepareIdFile, this,
std::placeholders::_1),
+ std::bind(&StepPrepareExecution::SendStartupSignal, this,
+ std::placeholders::_1),
};
}
return 0;
}
+int StepPrepareExecution::SendStartupSignal(AppInfo* app_info) {
+ if (Util::SendCmdToAmd(AmdCmd::AppStartupSignal) != 0)
+ _W("Failed to send startup signal");
+
+ return 0;
+}
+
} // namespace launchpad
int WaitTepMount(AppInfo* app_info);
int PrepareAppSocket(AppInfo* app_info);
int PrepareIdFile(AppInfo* app_info);
+ int SendStartupSignal(AppInfo* app_info);
private:
std::vector<std::function<int(AppInfo*)>> steps_;