privilege will mapped even api_version is 3.0 19/54219/1 accepted/tizen/mobile/20151215.054105 submit/tizen/20151215.012934
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 14 Dec 2015 07:23:04 +0000 (16:23 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 14 Dec 2015 07:23:04 +0000 (16:23 +0900)
Change-Id: I646b41072b53b0fef71f11e8485a653747ca41bf
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/step_privilege_compatibility.cc

index cb47963..aa6ed1c 100644 (file)
@@ -16,7 +16,6 @@
 
 namespace {
 
-const char kPlatformVersion[] = "3.0";
 const char kPrivForPublic[] =
     "http://tizen.org/privilege/internal/default/public";
 const char kPrivForPartner[] =
@@ -30,8 +29,6 @@ bool TranslatePrivilegesForCompatibility(manifest_x* m) {
                  << "is not specified by package";
     return true;
   }
-  if (strcmp(m->api_version, kPlatformVersion) == 0)
-    return true;
 
   // No privileges to map
   if (!m->privileges) {