Skip to content

Commit 658a324

Browse files
author
chenenyu
committed
optimize init order
1 parent 2c9bdbf commit 658a324

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/chenenyu/router/demo

1 file changed

+1
-1
lines changed

app/src/main/java/com/chenenyu/router/demo/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public class App extends MultiDexApplication {
1212
@Override
1313
public void onCreate() {
1414
super.onCreate();
15-
Router.initialize(this);
1615
// 开启log
1716
if (BuildConfig.DEBUG) {
1817
Router.openLog();
1918
}
19+
Router.initialize(this);
2020
}
2121
}

0 commit comments

Comments
 (0)