[Fix]
修复启动时tanlu模块未初始化导致异常 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -92,7 +92,7 @@ class MogoMainService extends Service implements IMogoLocationListener {
|
||||
private void startTanluService() {
|
||||
UiThreadHandler.postDelayed(() -> {
|
||||
Logger.d(TAG, "startTanluService ---------- ");
|
||||
if (mServiceApis != null) {
|
||||
if (mServiceApis != null && mServiceApis.getTanluApi() != null) {
|
||||
mServiceApis.getTanluApi().startTanluService();
|
||||
}
|
||||
}, 2_000L
|
||||
|
||||
Reference in New Issue
Block a user