*found = false;
for (const auto &x : this->app2client)
{
- if(x.second->surfaceID(role) == surface){
+ if(x.second->surfaceID() == surface){
*found = true;
return x.second->appID();
}
WMError AppList::appendRole(const string &id, const string &role, unsigned surface)
{
WMError wm_err = WMError::NO_ENTRY;
- if (this->contains(id))
+ HMI_ERROR("wm", "This function is disabled");
+ /* if (this->contains(id))
{
auto x = this->lookUpClient(id);
x->addSurface(role, surface);
wm_err = WMError::SUCCESS;
- }
+ } */
return wm_err;
}