if(0 != pid){
// search floating surfaceID from pid if pid is designated.
// It is not good that application request with its pid
- //wm_err = g_app_list.lookUpFloatingSurface(pid, &surface);
+ wm_err = g_app_list.lookUpFloatingSurface(pid, &surface);
}
else{
// get floating surface with appid. If WM queries appid from pid,
- // WM can bind appid and role to surface (not implemented yet)
+ // WM can bind surface and role with appid(not implemented yet)
//wm_err = g_app_list.lookUpFloatingSurface(id);
}
if(wm_err != WMError::SUCCESS){
{
HMI_INFO("wm", "Add role: %s with surface: %d. Client %s has multi surfaces.",
role.c_str(), surface, id.c_str());
- //wm_err = g_app_list.appendRole(id, surface, role);
+ wm_err = g_app_list.appendRole(id, role, surface);
if(wm_err != WMError::SUCCESS){
HMI_INFO("wm", errorDescription(wm_err));
}