Fixed encrypted resource list to db
authorSoyoung Kim <sy037.kim@samsung.com>
Fri, 12 Oct 2012 04:49:29 +0000 (13:49 +0900)
committerSoyoung Kim <sy037.kim@samsung.com>
Fri, 12 Oct 2012 07:36:15 +0000 (16:36 +0900)
- Encrypted resource location is wrong
- Fixed encrypted resource location path during insert db.

src/jobs/widget_install/task_encrypt_resource.cpp

index 91cef03..77172eb 100644 (file)
@@ -168,7 +168,7 @@ void TaskEncryptResource::EncryptFile(const std::string &fileName)
 
             std::string realPath = fileName;
             realPath.replace(0, m_context.locations->getTemporaryRootDir().length(),
-                    m_context.locations->getPackageInstallationDir());
+                    m_context.locations->getSourceDir());
 
             WrtDB::EncryptedFileInfo info;
             info.fileName = DPL::FromUTF8String(realPath);