Change-Id: I16daffa0fe23a72e70a52c45e6f4185a6d063760
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
_("IDS_ST_BODY_BRIGHTNESS_M_POWER_SAVING"),
NULL,
NULL);
+ if (ad->data_br_header == NULL) {
+ SETTING_TRACE_ERROR("ad->data_br_header is NULL");
+ return;
+ }
ad->itc_full.func.content_get = __setting_brightness_add_slider;
ad->last_requested_level = -1;
items[i].mode,
setting_profile_sound_mode_to_string(items[i].mode),
NULL);
- data->userdata = &items[i];
+ if (data) data->userdata = &items[i];
}
elm_radio_value_set(radio_group, current_mode);