From: Hyunjin Park Date: Thu, 22 Dec 2016 06:11:24 +0000 (+0900) Subject: [common] replace cynara_simple_check() with cynara_check() X-Git-Tag: submit/tizen_3.0/20161222.063120~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f6f1b4d4cc81381bcf04c6be61d52ca3d8a4d80;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [common] replace cynara_simple_check() with cynara_check() cause: TSAM-11968 [SE][Store_App][Tizen_3.0_Public_Final_RC7][Mobile][000000062608_VaccineReminder.wgt]White screen after launch app and can't exit by back key [verfication] result of web TCT are passed on filesystem, privilege, calendar Change-Id: Ibd9a9cb243bf13e2e635e5e598b00ed891718f35 --- diff --git a/src/common/tools.cc b/src/common/tools.cc index 21f5064d..8a6a3d3c 100644 --- a/src/common/tools.cc +++ b/src/common/tools.cc @@ -199,12 +199,12 @@ class AccessControlImpl { if (cynara_) { for (const auto& privilege : privileges) { - if (CYNARA_API_ACCESS_ALLOWED != cynara_simple_check(cynara_, // p_cynara - smack_label_.c_str(), // client - "", // client_session - uid_.c_str(), // user - privilege.c_str() // privilege - )) { + if (CYNARA_API_ACCESS_ALLOWED != cynara_check(cynara_, // p_cynara + smack_label_.c_str(), // client + "", // client_session + uid_.c_str(), // user + privilege.c_str() // privilege + )) { return false; } }