Commit 9673330a authored by spiiroin's avatar spiiroin

[config] Default to ask mode. JB#45869

Having developer is optional and requires configuration files to be
installed on the device. Thus defaulting to use developer mode in
absence of any configuration files makes little sense, and also causes
need for otherwise unnecessary configuration files in normal user
devices.
Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
parent 7967d5e4
......@@ -815,7 +815,7 @@ static void config_load_static_config(GKeyFile *ini)
log_debug("no configuration ini-files found");
/* Seed with default values */
g_key_file_set_string(ini, MODE_SETTING_ENTRY, MODE_SETTING_KEY, MODE_DEVELOPER);
g_key_file_set_string(ini, MODE_SETTING_ENTRY, MODE_SETTING_KEY, MODE_ASK);
/* Override with content from config files */
for( size_t i = 0; i < gb.gl_pathc; ++i ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment