From: Kazumasa Mitsunari Date: Mon, 18 Jun 2018 00:59:59 +0000 (+0900) Subject: Dump visible task X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=f9af8481e7221cd61a719c877dfe14b842f66eb7;p=apps%2Fagl-service-windowmanager.git Dump visible task It is useful to dump visible task for debug Change-Id: Ie736e50e1047c6b05d42d45fd32bbeedf0247b6e Signed-off-by: Kazumasa Mitsunari --- 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); } }