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();