X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhomescreen.cpp;h=8470635fabaeea7e7d4edf4b24850d1eced2c580;hb=a8f66206b9b6700151e513c6f8f3fcce844c15b3;hp=95cdf4e22f7d99f74a9c6ad90cbf612bca6d7cfe;hpb=60bc3bb15799c2443bc8074c9cb23317e2784d77;p=apps%2Fagl-service-homescreen.git diff --git a/src/homescreen.cpp b/src/homescreen.cpp index 95cdf4e..8470635 100644 --- a/src/homescreen.cpp +++ b/src/homescreen.cpp @@ -163,7 +163,7 @@ static void tap_shortcut (afb_req_t request) if(ret == AFB_REQ_NOT_STARTED_APPLICATION) { std::string id = g_hs_instance->app_info->getAppProperty(value, _keyId); HS_AfmMainProxy afm_proxy; - afm_proxy.start(request, id); + afm_proxy.start(g_hs_instance, request, id); ret = 0; } } @@ -315,7 +315,7 @@ static void showWindow(afb_req_t request) if(ret == AFB_REQ_NOT_STARTED_APPLICATION) { std::string id = g_hs_instance->app_info->getAppProperty(value, _keyId); HS_AfmMainProxy afm_proxy; - afm_proxy.start(request, id); + afm_proxy.start(g_hs_instance, request, id); ret = 0; } } @@ -504,6 +504,7 @@ static const afb_verb_t verbs[]= { */ static int preinit(afb_api_t api) { + (void) api; AFB_DEBUG("binding preinit (was register)"); return 0; }