Fixed TSAM-8357 Retaining entry focus on unlock 57/91957/1 submit/tizen_mobile/20161012.133837
authorbhutani.92 <bhutani.92@samsung.com>
Wed, 12 Oct 2016 09:52:53 +0000 (15:22 +0530)
committerbhutani.92 <bhutani.92@samsung.com>
Wed, 12 Oct 2016 09:52:53 +0000 (15:22 +0530)
Change-Id: I00bbde8bb6d2a42864869f02264dd28bfe5321c2
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/view/mp-search-view.c

index 69bbe429c0c006e59906a201f12baf63ac52d96b..bab7602f943214c55e08dc33defb923e3e2b9225 100755 (executable)
@@ -249,15 +249,9 @@ _mp_search_view_on_event_cb(void *thiz, MpViewEvent_e event)
                        (int)view) {
                        struct appdata *ad = mp_util_get_appdata();
                        MP_CHECK(ad);
-                       if (ad->sip_state) {
-                               elm_object_focus_allow_set(
-                                   mp_search_entry_get(view->search_bar),
-                                   EINA_TRUE);
-                       } else {
-                               elm_object_focus_allow_set(
-                                   mp_search_entry_get(view->search_bar),
-                                   EINA_FALSE);
-                       }
+                       elm_object_focus_allow_set(
+                               mp_search_entry_get(view->search_bar),
+                               EINA_TRUE);
                }
        }
        break;