Slightly change code (bug somewhere in dex?)
This commit is contained in:
parent
96252736c4
commit
654bf79dbe
2 changed files with 1 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue