| | |
| | | } |
| | | }) |
| | | .install(); |
| | | |
| | | MyLog.delSubDirLogs(); |
| | | |
| | | CrashHandler crashHandler = CrashHandler.getInstance(); |
| | | crashHandler.init(getApplicationContext()); |
| | | AYSdk.getInstance().init(getApplicationContext()); |
| | |
| | | DataInitKt.MCUUpgrade(getApplicationContext()); |
| | | DataInitKt.sendExamLights(getApplicationContext()); |
| | | DataInitKt.sendRtkConfig(getApplicationContext()); |
| | | DataInitKt.sendSignalConfigToRemote(getApplicationContext()); |
| | | // DataInitKt.sendSignalConfigToRemote(getApplicationContext()); |
| | | // OneTimeWorkRequest mcuUpgradeWorker = OneTimeWorkRequest.from(MCUUpgradeWorker.class); |
| | | // WorkManager.getInstance(getApplicationContext()).beginWith(examStatausOutWorker).then(mcuUpgradeWorker).enqueue(); |
| | | }); |
| | |
| | | case Constant.LEFT_RIGHT_DISTANCE: |
| | | CEventCenter.dispatchEvent(Constant.BIND_RTK_SPEED_TOPIC,cmd,0,json); |
| | | break; |
| | | case Constant.ID_SM_CARSENSOR: |
| | | Log.i("InspectSignal",json); |
| | | CEventCenter.dispatchEvent(Constant.BIND_MCUINFO_TOPIC,cmd,0,json); |
| | | break; |
| | | } |
| | | |
| | | } |