common::AppDB* appdb = common::AppDB::GetInstance();
appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeName, "xwalk-tizen");
appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeAppID, appid);
+ if (app_data_->setting_info()->background_support_enabled()) {
+ appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeBackgroundSupport, "true");
+ } else {
+ appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeBackgroundSupport, "false");
+ }
appdb->Remove(kAppDBRuntimeSection, kAppDBRuntimeBundle);
// Init ImeApplication
common::AppDB* appdb = common::AppDB::GetInstance();
appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeName, "xwalk-tizen");
appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeAppID, appid);
+ if (app_data_->setting_info()->background_support_enabled()) {
+ appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeBackgroundSupport, "true");
+ } else {
+ appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeBackgroundSupport, "false");
+ }
appdb->Remove(kAppDBRuntimeSection, kAppDBRuntimeBundle);
ResetWebApplication(NativeWindow::Type::NORMAL);
common::AppDB* appdb = common::AppDB::GetInstance();
appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeName, "xwalk-tizen");
appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeAppID, appid);
+ if (app_data_->setting_info()->background_support_enabled()) {
+ appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeBackgroundSupport, "true");
+ } else {
+ appdb->Set(kAppDBRuntimeSection, kAppDBRuntimeBackgroundSupport, "false");
+ }
appdb->Remove(kAppDBRuntimeSection, kAppDBRuntimeBundle);
// Init WebApplication
const char kAppDBRuntimeAppID[] = "app_id";
const char kAppDBRuntimeName[] = "runtime_name";
const char kAppDBRuntimeBundle[] = "encoded_bundle";
+const char kAppDBRuntimeBackgroundSupport[] = "background_support";
const char kTextLocalePath[] = "/usr/share/locale";
const char kTextDomainRuntime[] = "xwalk";
extern const char kAppDBRuntimeAppID[];
extern const char kAppDBRuntimeName[];
extern const char kAppDBRuntimeBundle[];
+extern const char kAppDBRuntimeBackgroundSupport[];
extern const char kTextLocalePath[];
extern const char kTextDomainRuntime[];