From: Jihoon Chung Date: Tue, 1 Jan 2013 23:58:30 +0000 (+0900) Subject: Add vconf creation for memory saving mode X-Git-Tag: submit/trunk/20130102.022110~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62fa957e211094b7e80e70e6344921efeda4cb30;p=platform%2Fframework%2Fweb%2Fwrt-installer.git Add vconf creation for memory saving mode [Issue#] N/A [Problem] N/A [Cause] N/A [Solution] Add vconf creation for memory saving mode [SCMRequest] must be imported with wrt-commons Change-Id: I92047866098c1865311d1cc5d307407c00887251 --- diff --git a/src/jobs/widget_install/task_database.cpp b/src/jobs/widget_install/task_database.cpp index 35ea45f..696a962 100644 --- a/src/jobs/widget_install/task_database.cpp +++ b/src/jobs/widget_install/task_database.cpp @@ -206,6 +206,9 @@ void TaskDatabase::StepCreateVconf() std::string filesystemUsageKey = WrtDB::VconfConfig::GetVconfKeyFilesystemUsage( m_context.locations->getPkgname()); + std::string memorySavingModeKey = + WrtDB::VconfConfig::GetVconfKeyMemorySavingMode( + m_context.locations->getPkgname()); vconf_set_int(popupUsageKey.c_str(), static_cast(WrtDB::SETTINGS_TYPE_ON)); @@ -221,6 +224,8 @@ void TaskDatabase::StepCreateVconf() static_cast(WrtDB::SETTINGS_TYPE_ON)); vconf_set_int(filesystemUsageKey.c_str(), static_cast(WrtDB::SETTINGS_TYPE_ON)); + vconf_set_int(memorySavingModeKey.c_str(), + static_cast(WrtDB::SETTINGS_TYPE_OFF)); } void TaskDatabase::StepAbortDBInsert()