From 2c9fdd5c92735f7f71cdde86e48b04bfe0168a3d Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Sat, 12 Nov 2016 15:41:46 +0300 Subject: [PATCH] Fix fav/wpt search priority --- .../net/osmand/plus/search/QuickSearchHelper.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/search/QuickSearchHelper.java b/OsmAnd/src/net/osmand/plus/search/QuickSearchHelper.java index c41041b210..65818a5023 100644 --- a/OsmAnd/src/net/osmand/plus/search/QuickSearchHelper.java +++ b/OsmAnd/src/net/osmand/plus/search/QuickSearchHelper.java @@ -22,13 +22,13 @@ import net.osmand.search.core.SearchResult; public class QuickSearchHelper implements ResourceListener { - public static final int SEARCH_FAVORITE_API_PRIORITY = 2; - public static final int SEARCH_FAVORITE_API_CATEGORY_PRIORITY = 7; - public static final int SEARCH_FAVORITE_OBJECT_PRIORITY = 10; - public static final int SEARCH_WPT_API_PRIORITY = 2; - public static final int SEARCH_WPT_OBJECT_PRIORITY = 10; - public static final int SEARCH_HISTORY_API_PRIORITY = 3; - public static final int SEARCH_HISTORY_OBJECT_PRIORITY = 10; + public static final int SEARCH_FAVORITE_API_PRIORITY = 1; + public static final int SEARCH_FAVORITE_API_CATEGORY_PRIORITY = 1; + public static final int SEARCH_FAVORITE_OBJECT_PRIORITY = 0; + public static final int SEARCH_WPT_API_PRIORITY = 1; + public static final int SEARCH_WPT_OBJECT_PRIORITY = 0; + public static final int SEARCH_HISTORY_API_PRIORITY = 1; + public static final int SEARCH_HISTORY_OBJECT_PRIORITY = 0; private OsmandApplication app; private SearchUICore core; private SearchResultCollection resultCollection;