BuildRequires: pkgconfig(capi-media-sound-manager)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(capi-system-info)
BuildRequires: libug-contacts-devel
BuildRequires: cmake
BuildRequires: gettext-tools
minicontrol-provider
dbus-1
dbus-glib-1
+ capi-system-info
)
void _vcui_view_common_show_noid_image(Evas_Object *layout);
void _vcui_view_common_update_mute_btn(void);
-
+gboolean _vcui_view_common_is_emul_bin(void);
#endif
+
}
_vcui_create_voicecall_button(vd, call_number);
- _vcui_create_videocall_button(vd, call_number);
- _vcui_create_message_button(vd, call_number);
+ if (_vcui_view_common_is_emul_bin() == EINA_FALSE) {
+ _vcui_create_videocall_button(vd, call_number);
+ _vcui_create_message_button(vd, call_number);
+ }
/* call name (if nothing, call number) */
if (strlen(call_name) == 0) {
_vcui_show_caller_info_name(vd, call_number, EINA_FALSE);
- _vcui_create_add_to_contacts_button(vd, call_number);
+ if (_vcui_view_common_is_emul_bin() == EINA_FALSE) {
+ _vcui_create_add_to_contacts_button(vd, call_number);
+ }
} else {
int ct_id = _vcui_doc_get_contact_index(call_data);
_vcui_show_caller_info_name(vd, call_name, EINA_FALSE);
_vcui_show_caller_info_number(vd, call_number, EINA_FALSE);
- _vcui_create_view_contact_button(vd, ct_id);
+ if (_vcui_view_common_is_emul_bin() == EINA_FALSE) {
+ _vcui_create_view_contact_button(vd, ct_id);
+ }
}
_vcui_view_common_set_each_time(_vcui_doc_get_call_start_time(call_data));
} else if (ad->call_end_type == CALL_END_TYPE_CONF_CALL) {
* limitations under the License.
*/
+#include <system_info.h>
#include "vcui-application.h"
#include "vcui-view-common.h"
_vcui_create_bottom_middle_button(vd);
}
+gboolean _vcui_view_common_is_emul_bin(void)
+{
+ char *model_str = NULL;
+ int ret = system_info_get_value_string(SYSTEM_INFO_KEY_MODEL, &model_str);
+
+ if (ret != SYSTEM_INFO_ERROR_NONE) {
+ CALL_UI_DEBUG("fail to call system_info_get_value_string");
+ free(model_str);
+ return FALSE;
+ }
+
+ if (strncmp("Emulator", model_str, 8) == 0) {
+ free(model_str);
+ return TRUE;
+ } else {
+ free(model_str);
+ return FALSE;
+ }
+}
+
_vcui_create_bottom_left_button(vd);
_vcui_create_bottom_middle_button_disabled(vd);
- _vcui_create_bottom_right_button(vd);
+ if (_vcui_view_common_is_emul_bin() == EINA_TRUE) {
+ _vcui_create_bottom_right_button_disabled(vd);
+ } else {
+ _vcui_create_bottom_right_button(vd);
+ }
_vcui_elements_check_keypad_n_hide(vd);
rej_msg_toolbar = elm_toolbar_add(priv->lock_reject_with_msg);
elm_toolbar_homogeneous_set(rej_msg_toolbar, TRUE);
elm_toolbar_shrink_mode_set(rej_msg_toolbar, ELM_TOOLBAR_SHRINK_EXPAND);
- elm_toolbar_item_append(rej_msg_toolbar, REJ_MSG_CREATE_ICON, NULL, __create_new_msg_cb, vd);
+ if (_vcui_view_common_is_emul_bin() == EINA_TRUE) {
+ item = elm_toolbar_item_append(rej_msg_toolbar, NULL, NULL, NULL, NULL);
+ elm_object_item_disabled_set(item, EINA_TRUE);
+ } else {
+ elm_toolbar_item_append(rej_msg_toolbar, REJ_MSG_CREATE_ICON, NULL, __create_new_msg_cb, vd);
+ }
item = elm_toolbar_item_append(rej_msg_toolbar, NULL, NULL, NULL, NULL);
elm_object_item_disabled_set(item, EINA_TRUE);
item = elm_toolbar_item_append(rej_msg_toolbar, NULL, NULL, NULL, NULL);
_vcui_create_bottom_middle_button(vd);
{
- _vcui_create_top_left_button(vd);
- _vcui_create_bottom_right_button(vd);
+ if (_vcui_view_common_is_emul_bin() == EINA_TRUE) {
+ _vcui_create_top_left_button_disabled(vd);
+ _vcui_create_bottom_right_button_disabled(vd);
+ } else {
+ _vcui_create_top_left_button(vd);
+ _vcui_create_bottom_right_button(vd);
+ }
}
}
} else {
_vcui_create_top_left_button(vd);
}
-
- _vcui_create_bottom_right_button(vd);
+ if (_vcui_view_common_is_emul_bin() == EINA_TRUE) {
+ _vcui_create_bottom_right_button_disabled(vd);
+ } else {
+ _vcui_create_bottom_right_button(vd);
+ }
}
ad->beffect_needed = EINA_FALSE;
_vcui_create_bottom_middle_button(vd);
CALL_UI_KPI("_vcui_create_bottom_middle_button done");
{
- _vcui_create_top_left_button(vd);
- _vcui_create_bottom_right_button(vd);
+ if (_vcui_view_common_is_emul_bin() == EINA_TRUE) {
+ _vcui_create_top_left_button_disabled(vd);
+ _vcui_create_bottom_right_button_disabled(vd);
+ } else {
+ _vcui_create_top_left_button(vd);
+ _vcui_create_bottom_right_button(vd);
+ }
}
}
CALL_UI_KPI("edje_object_signal_emit effect start");