atspi : Fix "bring_in" of the genlist item in wearable profile 73/148673/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:46 +0000 (08:50 +0000)
Change-Id: I3409ad8d55998d01af28eb248d57a586a94d3cc4

src/mobile_lib/elm_genlist.c

index 6f7a9fc..0a0c6d9 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
      }