wait to finish
This commit is contained in:
@@ -71,7 +71,7 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
//设置debug模式,日志不上传
|
||||
crashSystem.setDebug(BuildConfig.DEBUG);
|
||||
Logger.init(BuildConfig.DEBUG ? LogLevel.DEBUG : LogLevel.OFF);
|
||||
initMogoHttpDns();
|
||||
initTipToast();
|
||||
initModules();
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
prepareBaseService();
|
||||
}
|
||||
|
||||
@Override
|
||||
//todo
|
||||
protected HttpSimpleLocation getCurrentLocation() {
|
||||
MogoLocation location = MogoApisHandler.getInstance().getApis().getMapServiceApi().getSingletonLocationClient(this).getLastKnowLocation();
|
||||
if (location == null) {
|
||||
@@ -233,6 +233,8 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
new IMoGoTokenCallback() {
|
||||
@Override
|
||||
public void onTokenGot(String token, String sn) {
|
||||
//todo
|
||||
asyncInit();
|
||||
// 鉴权成功后开启socket长链服务
|
||||
prepareSocketAndLocationServices();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user