elm_theme_extension_add(th, EDJ_APP);
ad->flag_emul = _check_emul();
-
+#if USE_SETTING_ICON
if(!ad->flag_emul)
{
block = _add_layout(win, EDJ_APP, GRP_VOLUME_BLOCKEVENTS);
}
else
{
+#endif
block = _add_layout(win, EDJ_APP, GRP_VOLUME_BLOCKEVENTS);
retvm_if(block == NULL, -1, "Failed to add block layout\n");
elm_object_part_content_set(ad->sl, "icon", ic);
ad->ic = ic;
_set_icon(ad, val);
+#if USE_SETTING_ICON
}
+#endif
ret = syspopup_create(b, &handler, ad->win, ad);
switch(ad->type){
case VOLUME_TYPE_RINGTONE:
- img = IMG_VOLUME_ICON_CALL;
+ img = IMG_VOLUME_ICON;
break;
case VOLUME_TYPE_MEDIA:
if(device == SYSTEM_AUDIO_ROUTE_PLAYBACK_DEVICE_EARPHONE)
else
img = IMG_VOLUME_ICON_MEDIA;
break;
+ case VOLUME_TYPE_CALL:
+ img = IMG_VOLUME_ICON_CALL;
+ break;
default:
img = IMG_VOLUME_ICON;
break;