Bug fix for getPrivateLocalStoragePath() api.
authorTaejeong Lee <taejeong.lee@samsung.com>
Tue, 26 Mar 2013 05:26:08 +0000 (14:26 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 27 Mar 2013 04:26:25 +0000 (13:26 +0900)
[Issue#] N/A
[Problem] It refered to incorrect value, TizenAppId.
[Cause] N/A
[Solution] Changed to refer to TizenPkgId.

Change-Id: Ib250247022c2933e2c678fe6e2858ea0fff584d6

modules/widget_dao/dao/widget_dao_read_only.cpp

index d97416e..f71c542 100755 (executable)
@@ -1080,8 +1080,8 @@ std::string WidgetDAOReadOnly::getCookieDatabasePath() const
 std::string WidgetDAOReadOnly::getPrivateLocalStoragePath() const
 {
     std::ostringstream path;
-    TizenAppId tzAppId = getTzAppId();
-    path << WidgetConfig::GetWidgetWebLocalStoragePath(tzAppId);
+    TizenAppId tzPkgId = getTizenPkgId();
+    path << WidgetConfig::GetWidgetWebLocalStoragePath(tzPkgId);
     path << "/";
 
     return path.str();