summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ceb1049)
Fix the mistake of passing std::string into %s.
Change-Id: I267feba5ed8239d146506721363f5bebcdaafa42
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
{
// register drawing_name as fallback and make it displayed.
lid = this->lc->getNewLayerID(string("fallback"));
{
// register drawing_name as fallback and make it displayed.
lid = this->lc->getNewLayerID(string("fallback"));
- HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role);
+ HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role.c_str());
if (lid == 0)
{
return Err<int>("Designated role does not match any role, fallback is disabled");
if (lid == 0)
{
return Err<int>("Designated role does not match any role, fallback is disabled");
{
// register drawing_name as fallback and make it displayed.
l_id = this->lc->getNewLayerID("fallback");
{
// register drawing_name as fallback and make it displayed.
l_id = this->lc->getNewLayerID("fallback");
- HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role);
+ HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role.c_str());
if (l_id == 0)
{
return "Designated role does not match any role, fallback is disabled";
if (l_id == 0)
{
return "Designated role does not match any role, fallback is disabled";
HMI_ERROR("not defined in Window Manager", event_id);
return ret;
}
HMI_ERROR("not defined in Window Manager", event_id);
return ret;
}
- HMI_INFO("%s subscribe %s : %d", appid, kListEventName[event_id], event_id);
+ HMI_INFO("%s subscribe %s : %d", appid, kListEventName[event_id].c_str(), event_id);
if(event_id == Event_ScreenUpdated)
{
// Event_ScreenUpdated should be emitted to subscriber
if(event_id == Event_ScreenUpdated)
{
// Event_ScreenUpdated should be emitted to subscriber
WMError LayerControl::loadLayerSetting(const string &path)
{
WMError LayerControl::loadLayerSetting(const string &path)
{
- HMI_DEBUG("loading WMLayer(Application Containers) Setting from %s", path);
+ HMI_DEBUG("loading WMLayer(Application Containers) Setting from %s", path.c_str());
json_object *json_obj, *json_cfg;
int ret = jh::inputJsonFilie(path.c_str(), &json_obj);
json_object *json_obj, *json_cfg;
int ret = jh::inputJsonFilie(path.c_str(), &json_obj);