aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-08 18:24:04 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-08 18:24:04 +0900
commite05891ff9f7343a0c536215fc5b4ef8decfa6983 (patch)
tree4465640b4cd94a2e6ad8e9a07474bc8c722dbc1d /src/app.cpp
parentbe2a72a0759f50e0f76b45382772ed039a60e44f (diff)
Enable functions
* lookUpFloatingSurface * appendRole Change-Id: I3153cb0bbb266401f7beb0c709e2e3b64af42199 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 4d9e969..7f19572 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -1303,11 +1303,11 @@ bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid
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){
@@ -1322,7 +1322,7 @@ bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid
{
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));
}