Slightly change code (bug somewhere in dex?)

This commit is contained in:
Victor Shcherb 2015-04-02 01:18:21 +02:00
parent 96252736c4
commit 654bf79dbe
2 changed files with 1 additions and 6 deletions

View file

@ -318,10 +318,6 @@ public class AppInitializer implements IProgress {
public void initPlugins() {
OsmandPlugin.initPlugins(app);
}
public net.osmand.router.RoutingConfiguration.Builder getLazyDefaultRoutingConfig() { public net.osmand.router.RoutingConfiguration.Builder getLazyDefaultRoutingConfig() {
long tm = System.currentTimeMillis(); long tm = System.currentTimeMillis();
try { try {

View file

@ -145,8 +145,7 @@ public class OsmandApplication extends Application {
startApplication(); startApplication();
System.out.println("Time to start application " + (System.currentTimeMillis() - timeToStart) + " ms. Should be less < 800 ms"); System.out.println("Time to start application " + (System.currentTimeMillis() - timeToStart) + " ms. Should be less < 800 ms");
timeToStart = System.currentTimeMillis(); timeToStart = System.currentTimeMillis();
appInitializer.initPlugins(); OsmandPlugin.initPlugins(this);
System.out.println("Time to init plugins " + (System.currentTimeMillis() - timeToStart) + " ms. Should be less < 800 ms"); System.out.println("Time to init plugins " + (System.currentTimeMillis() - timeToStart) + " ms. Should be less < 800 ms");
} }