From 985a008efbd500c73482a976becc1495b6354c11 Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Tue, 16 Oct 2018 15:18:08 +0300 Subject: [PATCH] Init native core before poi types and indexes --- OsmAnd/src/net/osmand/plus/AppInitializer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/AppInitializer.java b/OsmAnd/src/net/osmand/plus/AppInitializer.java index b9aece2979..01d4c87003 100644 --- a/OsmAnd/src/net/osmand/plus/AppInitializer.java +++ b/OsmAnd/src/net/osmand/plus/AppInitializer.java @@ -631,16 +631,14 @@ public class AppInitializer implements IProgress { // native depends on renderers initOpenGl(); notifyEvent(InitEvents.NATIVE_OPEN_GLINITIALIZED); + initNativeCore(); + notifyEvent(InitEvents.NATIVE_INITIALIZED); // init poi types before indexes and before POI initPoiTypes(); notifyEvent(InitEvents.POI_TYPES_INITIALIZED); app.resourceManager.reloadIndexesOnStart(this, warnings); - // native depends on renderers - initNativeCore(); - notifyEvent(InitEvents.NATIVE_INITIALIZED); - app.favorites.loadFavorites(); notifyEvent(InitEvents.FAVORITES_INITIALIZED); app.poiFilters.reloadAllPoiFilters();