fix bug : N_SE-7992, 8049, 7809, 7661
authorHyejin Kim <hyejin0906.kim@samsung.com>
Wed, 29 Aug 2012 06:28:08 +0000 (15:28 +0900)
committerHyejin Kim <hyejin0906.kim@samsung.com>
Wed, 29 Aug 2012 06:49:00 +0000 (15:49 +0900)
patchset2. fix more.

Change-Id: Ided2f231b3466b3b968db52694f3a1240fa16eb4

setting-reset/src/setting-reset-settings.c

index 53d0813..bfb6a31 100755 (executable)
@@ -291,8 +291,12 @@ static int setting_reset_settings_create(void *cb)
                        {
                            continue;
                        }
-                       list_data->chk_items[idx].ug_args = ug_args =
-                                       setting_cfg_get_ug_args_idx(i, j);
+                       ug_args = setting_cfg_get_ug_args_idx(i, j);
+                       if (!is_ug_installed_by_ug_args(ug_args))
+                       {
+                               continue;
+                       }
+                       list_data->chk_items[idx].ug_args = ug_args;
                        list_data->chk_items[idx].item_name = item_name =
                                        setting_cfg_get_keyname_idx(i, j);