aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-10-31 11:19:00 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-10-31 11:19:00 +0900
commit63dabee213a840391b02c76ca6dce711cb4ad9b0 (patch)
treee436af421b469684a5d95a2c6ada70e0c6044754
parentff46feb9b7b371335f78acbfae5de23efbdc4cf9 (diff)
Output log of render ordersandbox/knimitz/layer_with_pm
Change-Id: I6e09e635b179d2480de5eef2a43e8dba8ae2ec51 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c45f39f..9893fc6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -474,7 +474,6 @@ void windowmanager_set_render_order(afb_req req) noexcept
afb_req_fail(req, "failed", "Binding not initialized, did the compositor die?");
return;
}
-
char* appid = afb_req_get_application_id(req);
if(appid)
{
@@ -484,6 +483,7 @@ void windowmanager_set_render_order(afb_req req) noexcept
{
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));
@@ -492,7 +492,7 @@ void windowmanager_set_render_order(afb_req req) noexcept
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
{