If the launch request is for debugging an application,
the launchpad doesn't prepare the app socket. Some debugger
closes all fds before executing the application.
Change-Id: I3342e8270a4ff552139d6da51b3132ec1a957b6a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
if (ret < 0)
return PAD_ERR_FAILED;
- ret = _prepare_app_socket();
- if (ret < 0)
- return PAD_ERR_FAILED;
+ if (bundle_get_type(kb, AUL_K_SDK) == BUNDLE_TYPE_NONE) {
+ ret = _prepare_app_socket();
+ if (ret < 0)
+ return PAD_ERR_FAILED;
+ }
return 0;
}