Modify drm so file name
authorDuyoung Jang <duyoung.jang@samsung.com>
Tue, 9 Jul 2013 02:19:57 +0000 (11:19 +0900)
committerDuyoung Jang <duyoung.jang@samsung.com>
Tue, 9 Jul 2013 02:19:57 +0000 (11:19 +0900)
Change-Id: I0bc3dc1601fd67f6e151300ee152eef8b4a8189c
Signed-off-by: Duyoung Jang <duyoung.jang@samsung.com>
inc/InstallerDefs.h
src/Util/InstallerUtil.cpp

index 3678139..4673744 100755 (executable)
@@ -23,7 +23,7 @@
 
 #include "InstallerUtil.h"
 
-#define OSP_INSTALLER_VERSION "version=[20130704.2]"
+#define OSP_INSTALLER_VERSION "version=[20130709.1]"
 
 #define DIR_BIN                                L"/bin"
 #define DIR_INFO                       L"/info"
index 8abe02c..8381c57 100755 (executable)
@@ -397,7 +397,7 @@ InstallerUtil::IsDrmFile(const String& path)
        std::unique_ptr<char[]> pFilePath(_StringConverter::CopyToCharArrayN(path));
        TryReturn(pFilePath, false, "pFilePath is null.");
 
-       pHandle = dlopen("/usr/lib/libdrm-service-core-sapps.so.0", RTLD_LAZY | RTLD_GLOBAL);
+       pHandle = dlopen("/usr/lib/libdrm-service-core-tizen.so", RTLD_LAZY | RTLD_GLOBAL);
        if (!pHandle)
        {
                AppLog("dlopen() failed. [%ls][%s]", path.GetPointer(), dlerror());
@@ -444,7 +444,7 @@ InstallerUtil::DecryptPackage(const String& path, const String& decryptedPath)
        std::unique_ptr<char[]> pDecryptedPath(_StringConverter::CopyToCharArrayN(decryptedPath));
        TryReturn(pDecryptedPath, false, "pDecryptedPath is null.");
 
-       pHandle = dlopen("/usr/lib/libdrm-service-core-sapps.so.0", RTLD_LAZY | RTLD_GLOBAL);
+       pHandle = dlopen("/usr/lib/libdrm-service-core-tizen.so", RTLD_LAZY | RTLD_GLOBAL);
        if (!pHandle)
        {
                AppLog("dlopen() failed. [%ls][%s]", path.GetPointer(), dlerror());