diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java index 48f8b05faa..1a5deb3c6e 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/search/QuickSearchDialogFragment.java @@ -657,7 +657,7 @@ public class QuickSearchDialogFragment extends DialogFragment implements SampleC } private void runCoreSearchInternal(String text, boolean updateResult, boolean searchMore) { - SearchResultCollection c = searchUICore.search(text, new ResultMatcher() { + SearchResultCollection c = searchUICore.search(text, updateResult, new ResultMatcher() { SearchResultCollection regionResultCollection = null; SearchCoreAPI regionResultApi = null; List results = new ArrayList<>();