elm_config: Password mode change on running apps is not reflected 84/119284/2
authorShilpa Singh <shilpa.singh@samsung.com>
Sat, 25 Feb 2017 12:02:22 +0000 (17:32 +0530)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 17 Mar 2017 06:01:43 +0000 (23:01 -0700)
Change-Id: I13063046aefba41ceeffcb3cfb9356aa039af6cb

src/lib/elm_config.c

index b7558a3aeaa4ff00989527bfd22d74ceb532ca83..29d8eb0f7dd90eb8ecf5a4b69a8763397da09d11 100644 (file)
@@ -1581,6 +1581,10 @@ _config_apply(void)
 {
    _elm_theme_parse(NULL, _elm_config->theme);
    ecore_animator_frametime_set(1.0 / _elm_config->fps);
+   //TIZEN_ONLY(20172502): running apps when password mode is enabled/disabled, sub_apply will not get called
+   edje_password_show_last_set(_elm_config->password_show_last);
+   edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);
+   //
 }
 
 static void
@@ -1588,8 +1592,10 @@ _config_sub_apply(void)
 {
    edje_frametime_set(1.0 / _elm_config->fps);
    edje_scale_set(_elm_config->scale);
-   edje_password_show_last_set(_elm_config->password_show_last);
-   edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);
+   //TIZEN_ONLY(20172502): running apps when password mode is enabled/disabled, sub_apply will not get called
+   /*edje_password_show_last_set(_elm_config->password_show_last);
+   edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);*/
+   //
    edje_transition_duration_factor_set(_elm_config->transition_duration_factor);
    if (_elm_config->modules) _elm_module_parse(_elm_config->modules);
    edje_audio_channel_mute_set(EDJE_CHANNEL_EFFECT, _elm_config->audio_mute_effect);