后台任务添加:根据后期需求修改指标监测轮询时间,缺少对自动驾驶状态变化的监听
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.module.check;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import com.alibaba.android.arouter.facade.annotation.Route;
|
||||
import com.mogo.module.check.view.CheckActivity;
|
||||
@@ -41,4 +42,11 @@ public class CheckProvider implements ICheckProvider {
|
||||
CheckActivity.showDialog(context);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkMonitor(Context context) {
|
||||
if (context != null){
|
||||
CheckActivity.checkMonitor();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,6 +82,13 @@ public class CheckActivity extends AppCompatActivity {
|
||||
mRecyclerView.setLayoutManager(linearLayoutManager);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 自动驾驶状态下指标监测
|
||||
*/
|
||||
public static void checkMonitor(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user