diff --git a/android/src/com/mapswithme/maps/search/SearchAdapter.java b/android/src/com/mapswithme/maps/search/SearchAdapter.java index 1719b730b1..12961b4a65 100644 --- a/android/src/com/mapswithme/maps/search/SearchAdapter.java +++ b/android/src/com/mapswithme/maps/search/SearchAdapter.java @@ -305,10 +305,9 @@ public class SearchAdapter extends BaseAdapter } break; case CATEGORY_TYPE: - final String category = getCategoryName(mCategories[position]); - Statistics.INSTANCE.trackSearchCategoryClicked(category); + Statistics.INSTANCE.trackSearchCategoryClicked(mCategories[position]); - return category + ' '; + return getCategoryName(mCategories[position]) + ' '; } return null;