diff --git a/OsmAnd/src/net/osmand/plus/AppInitializer.java b/OsmAnd/src/net/osmand/plus/AppInitializer.java index a8ad9a7284..b54ebbca00 100644 --- a/OsmAnd/src/net/osmand/plus/AppInitializer.java +++ b/OsmAnd/src/net/osmand/plus/AppInitializer.java @@ -318,10 +318,6 @@ public class AppInitializer implements IProgress { - public void initPlugins() { - OsmandPlugin.initPlugins(app); - } - public net.osmand.router.RoutingConfiguration.Builder getLazyDefaultRoutingConfig() { long tm = System.currentTimeMillis(); try { diff --git a/OsmAnd/src/net/osmand/plus/OsmandApplication.java b/OsmAnd/src/net/osmand/plus/OsmandApplication.java index 395202c21f..fcf13c2ffb 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandApplication.java +++ b/OsmAnd/src/net/osmand/plus/OsmandApplication.java @@ -145,8 +145,7 @@ public class OsmandApplication extends Application { startApplication(); System.out.println("Time to start application " + (System.currentTimeMillis() - timeToStart) + " ms. Should be less < 800 ms"); timeToStart = System.currentTimeMillis(); - appInitializer.initPlugins(); - + OsmandPlugin.initPlugins(this); System.out.println("Time to init plugins " + (System.currentTimeMillis() - timeToStart) + " ms. Should be less < 800 ms"); }