aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-16 10:54:12 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-16 10:54:12 +0900
commita9f141d714746ce769dade82a620a79fcea745d4 (patch)
tree47aeb9b34de4f5f00f1fa116820e10482b2978f3
parent0abcfccdd2758da6015404c3b06126ec85e96eb2 (diff)
Output log on surface_properties
Change-Id: If921d58c5d046b45c81db221de78630b7664455f Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/window_manager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index a57f021..8b2cfbc 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -711,6 +711,14 @@ void WindowManager::surface_properties(unsigned surface_id, unsigned pid)
// pick up appid from pid from application manager
std::string appid;
+ if(response == nullptr)
+ {
+ HMI_ERROR("wm", "No runners");
+ }
+ else
+ {
+ HMI_INFO("wm", "Runners:%s", json_object_get_string(response));
+ }
// check appid then add it to the client
g_app_list.addFloatingSurface(appid, surface_id, pid);