#include "view/system/view_pincode.h"
#include <Elementary.h>
#include <stdbool.h>
+#include <string.h>
#include "define.h"
#include "app_debug.h"
#include "app_string.h"
static void _cancel_btn_mouse_cb(int id, void *data, Evas_Object *obj)
{
viewmgr_pop_view();
- viewmgr_update_view(VIEW_BASE, UPDATE_TOAST, VIEW_TOAST_MESSAGE_PINCODE);
}
static void _pin_entry_key_cb(int id, void *data, Evas *e, Evas_Object *obj,
Evas_Event_Key_Up *ev)
{
+ SETTING_TRACE_BEGIN;
pincode_view_data *priv = NULL;
if (!data || !obj || !ev || id < 0 || id >= (PIN_ENTRIES_COUNT - 1))
for (i = 0; i < PIN_ENTRIES_COUNT; i++) {
tmp = elm_entry_entry_get(priv->pin_entries[i]);
if(tmp)
- entries_texts[i] = tmp[i];
+ strcat(entries_texts, tmp);
}
/*This is just temporary ... */
switch (priv->current_win_type) {
priv->pin1 = priv->pin2 = 0;
/* Save new PIN ...*/
viewmgr_pop_view();
+ viewmgr_update_view(VIEW_BASE, UPDATE_TOAST, VIEW_TOAST_MESSAGE_PINCODE);
} else {
_send_str_message(priv->widget_body_layout,
SYS_PIN_TITLE_SET_MSG_ID,