afb_req_fail(req, "failed", "Binding not initialized, did the compositor die?");
return;
}
-
char* appid = afb_req_get_application_id(req);
if(appid)
{
{
int size = json_object_array_length(j_ro);
std::vector<std::string> ro(size);
+ HMI_INFO("render order : %s", json_object_get_string(j_ro));
for(int i = 0; i < size; i++)
{
ro[i] = json_object_get_string(json_object_array_get_idx(j_ro, i));
auto ret = g_afb_instance->wmgr.api_client_set_render_order(appid, ro);
if (!ret)
{
- afb_req_fail(req, "failed", nullptr);
+ afb_req_fail(req, "failed", "failed to set render order");
}
else
{