Change-Id: I14920e5dcb7d5eee2b2e925a2dd33993af45baf1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
extern "C" API int aul_svc_run_service_for_uid(bundle* b, int request_code,
aul_svc_res_fn cbfunc, void* data, uid_t uid) {
CbInfo* cb_info = nullptr;
extern "C" API int aul_svc_run_service_for_uid(bundle* b, int request_code,
aul_svc_res_fn cbfunc, void* data, uid_t uid) {
CbInfo* cb_info = nullptr;
cb_info = new (std::nothrow) CbInfo(request_code, cbfunc, nullptr, data);
cb_info = new (std::nothrow) CbInfo(request_code, cbfunc, nullptr, data);
- if (cb_info == nullptr)
- LOGE("Out of memory");
+ if (cb_info == nullptr)
+ LOGE("Out of memory");
+ }
std::tuple<aul_svc_res_fn, void*> param { cbfunc, data };
int ret = ::SendLaunchRequest<::SendLaunchRequestCb, ::CbInfo*>(
std::tuple<aul_svc_res_fn, void*> param { cbfunc, data };
int ret = ::SendLaunchRequest<::SendLaunchRequestCb, ::CbInfo*>(