lizhanwei
2020-04-09 524763aa48d11019112a8b1c61e03029817e5a85
app/src/main/java/safeluck/drive/evaluation/app.java
@@ -79,6 +79,7 @@
import safeluck.drive.evaluation.util.SPUtils;
import safeluck.drive.evaluation.util.SystemUtil;
import safeluck.drive.evaluation.util.Utils;
import safeluck.drive.evaluation.viewmodels.TimeViewModel;
import safeluck.drive.evaluation.worker.MCUUpgradeWorker;
import safeluck.drive.evaluation.worker.TTSWorker;
@@ -438,7 +439,27 @@
                        }
                        jkMessage0206.attachInfo = attachInfo;
                    if (ExamPlatformData.getInstance().getTrainingMode()==ExamPlatformData.MODE_NONE){
                        Log.i(TAG,"非训练和考试");
                        //判断10s时间是否到
                        if (ExamPlatformData.getInstance().isTimeArrive_10s()){
                            Log.i(TAG,"非训练和考试10s到");
                            //到了 就走下面发送0206消息
                            MessageProcessor.getInstance().sendMessage(jkMessage0206);
                            //重置标记
                            ExamPlatformData.getInstance().setTimeArrive_10s(false);
                        }else{
                            //没到,就不走下面 不发送0206,直接return
                            return;
                        }
                    }else{
                        MessageProcessor.getInstance().sendMessage(jkMessage0206);
                    }
                    } catch (JSONException e) {
                        e.printStackTrace();