From bc23b66dd3f7d8acac18b30fde5e5ae7801058cc Mon Sep 17 00:00:00 2001 From: vshcherb Date: Sat, 13 Aug 2016 13:27:40 +0200 Subject: [PATCH] Update MainActivity.java --- .../net/osmand/core/samples/android/sample1/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java index ff5938ba7b..cb417765ec 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java @@ -341,7 +341,7 @@ public class MainActivity extends Activity { } } - searchUICore = new SearchUICore(app.getPoiTypes(), LANGUAGE); + searchUICore = new SearchUICore(app.getPoiTypes(), LANGUAGE, false); searchUICore.getSearchSettings().setOfflineIndexes(Arrays.asList(files.toArray(new BinaryMapIndexReader[files.size()]))); searchUICore.init();