From cf304728d2c524689f06a1c7f31c82cde66e28c4 Mon Sep 17 00:00:00 2001 From: Jihoon Chung Date: Tue, 7 May 2013 23:04:04 +0900 Subject: [PATCH] Fixed privilege level checking [Issue#] TDIS-5461 [Problem] Unable to disable widget installed with declared one or more partner API privileges in configuration file [Cause] Caused by the missing code to check the results of the privilege level check [Solution] Modify source code to check privilege level whether to proceed instll or not [SCMRequest] N/A Change-Id: Ic8b96cb24fe23d480f8fb004f155f2c434fb402a --- src/misc/feature_logic.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/misc/feature_logic.cpp b/src/misc/feature_logic.cpp index aa8b873..18b640b 100644 --- a/src/misc/feature_logic.cpp +++ b/src/misc/feature_logic.cpp @@ -79,8 +79,7 @@ void FeatureLogic::setAceResponse(bool allowed) Assert(isProcessable() && "Wrong usage"); if (!allowed) { m_currentFeature->rejected = true; - // TODO: checking tizen specification regarding security for insatlling - // m_rejected = true; + m_rejected = true; } } -- 2.7.4