From f9af8481e7221cd61a719c877dfe14b842f66eb7 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 18 Jun 2018 09:59:59 +0900 Subject: [PATCH] Dump visible task It is useful to dump visible task for debug Change-Id: Ie736e50e1047c6b05d42d45fd32bbeedf0247b6e Signed-off-by: Kazumasa Mitsunari --- src/applist.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/applist.cpp b/src/applist.cpp index d3a839c..19c2106 100644 --- a/src/applist.cpp +++ b/src/applist.cpp @@ -400,6 +400,7 @@ bool AppList::setEndDrawFinished(unsigned req_num, const string &appid, const st { if (y.appid == appid && y.role == role) { + HMI_SEQ_INFO(req_num, "Role %s finish redraw", y.role.c_str()); y.end_draw_finished = true; result = true; } @@ -511,10 +512,11 @@ void AppList::reqDump() for (const auto &y : x.sync_draw_req) { DUMP( - "Action : (APPID :%s, ROLE :%s, AREA :%s, END_DRAW_FINISHED: %d)", + "Action : (APPID :%s, ROLE :%s, AREA :%s, VISIBLE : %s, END_DRAW_FINISHED: %d)", y.appid.c_str(), y.role.c_str(), y.area.c_str(), + (y.visible == TaskVisible::INVISIBLE) ? "invisible" : "visible", y.end_draw_finished); } } -- 2.16.6