Change OSP API version to Tizen API version.
authorHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 11 Dec 2012 01:55:13 +0000 (10:55 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 11 Dec 2012 01:55:13 +0000 (10:55 +0900)
Change-Id: I955aad1e040cb13e1918c292833d324ea2fbf924

src/Manager/PermissionManager.cpp

index 68fbbdb..206b4fe 100644 (file)
@@ -125,9 +125,9 @@ PermissionManager::SetDirectory(InstallationContext* pContext)
        AppLogTag(OSP_INSTALLER, "[Tizen::Io] # appId = [%ls]", appId.GetPointer());
        AppLogTag(OSP_INSTALLER, "[Tizen::Io] # apiVersion = [%ls]", apiVersion.GetPointer());
 
-       if (apiVersion.CompareTo(L"3.0") < 0)
+       if (apiVersion.CompareTo(L"2.0") == 0)
        {
-               AppLogTag(OSP_INSTALLER, "[Tizen::Io] apiVersion <= 2.0");
+               AppLogTag(OSP_INSTALLER, "[Tizen::Io] apiVersion is 2.0");
 
                if (_FileImpl::PrepareDataCaging(appRootPath, appId) == false)
                {
@@ -139,7 +139,7 @@ PermissionManager::SetDirectory(InstallationContext* pContext)
        }
        else
        {
-               AppLogTag(OSP_INSTALLER, "[Tizen::Io] apiVersion >= 3.0");
+               AppLogTag(OSP_INSTALLER, "[Tizen::Io] apiVersion is equal to or greater than 2.1");
 
                if (_FileImpl::CreateOspApplicationDirectories(appRootPath, appId) == false)
                {