Change pkgname to appid for docomo request. PART1
[platform/framework/web/wrt-installer.git] / src / jobs / widget_uninstall / task_db_update.cpp
index d3f2c93..c9eebd6 100644 (file)
@@ -50,8 +50,8 @@ void TaskDbUpdate::StepDbUpdate()
     {
         //TODO: widget handle should not be used any more
         ace_unregister_widget(static_cast<ace_widget_handle_t>(
-            WidgetDAOReadOnly::getHandle(m_context.locations->getPkgname())));
-        WidgetDAO::unregisterWidget(m_context.locations->getPkgname());
+            WidgetDAOReadOnly::getHandle(DPL::FromUTF8String(m_context.tzAppid))));
+        WidgetDAO::unregisterWidget(DPL::FromUTF8String(m_context.tzAppid));
 
         LogDebug("Unregistered widget successfully!");
     }