From 671b366ab609ccd58456e8debf0a20e46315b3e6 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 15 Nov 2018 19:32:39 +0900 Subject: Clean: Remove conversion table from old role Stop compatibility support. Remove conversion table from old role. Bug-AGL: SPEC-1947 Change-Id: Idbb0717920c2f4a0c29bfb4356e1b167ac8bce0b Signed-off-by: Kazumasa Mitsunari --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d0d7930..29d25fb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -116,8 +116,7 @@ static void createSecurityContext(afb_req req, const char* appid, const char* ro if (!ctxt) { // Create Security Context at first time - const char *new_role = g_afb_instance->wmgr.convertRoleOldToNew(role); - WMClientCtxt *ctxt = new WMClientCtxt(appid, new_role); + WMClientCtxt *ctxt = new WMClientCtxt(appid, role); HMI_DEBUG("create session for %s", ctxt->name.c_str()); afb_req_session_set_LOA(req, 1); afb_req_context_set(req, ctxt, cbRemoveClientCtxt); -- cgit 1.2.3-korg