atspi : Fix "bring_in" of the genlist item in wearable profile 72/148672/2
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 8 Sep 2017 09:13:05 +0000 (18:13 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 11 Sep 2017 08:50:43 +0000 (08:50 +0000)
Change-Id: I440fa9e8583e6b8d0089c64c7d15bce717155ec1

src/mobile_lib/elm_genlist.c

index 6f7a9fc15ccd1ce807f9eb930abdcd070ca2a3ea..0a0c6d96e35384efcd14fa14e73ca8185f19b7c7 100644 (file)
@@ -8805,9 +8805,12 @@ _elm_genlist_item_elm_interface_atspi_component_highlight_grab(Eo *eo_it, Elm_Ge
      }
    else
      {
-       //TIZEN_ONLY(20170724): grab highlight using unrealized item
-       elm_genlist_item_bring_in(eo_it, ELM_GENLIST_ITEM_SCROLLTO_IN);
-       //
+       if (!TIZEN_PROFILE_WEARABLE)
+         {
+            //TIZEN_ONLY(20170724): grab highlight using unrealized item
+            elm_genlist_item_bring_in(eo_it, ELM_GENLIST_ITEM_SCROLLTO_IN);
+            //
+         }
        sd->atspi_item_to_highlight = it;//it will be highlighted when realized
      }