[add] 检测入口添加
This commit is contained in:
@@ -94,6 +94,8 @@ import com.mogo.utils.logger.Logger;
|
||||
import com.mogo.utils.storage.SharedPrefsMgr;
|
||||
import com.zhidao.manager.ts.TsThreshold;
|
||||
|
||||
import org.w3c.dom.Text;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
@@ -242,6 +244,7 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
|
||||
|
||||
private final AdasNoticeHelper adasNoticeHelper = new AdasNoticeHelper();
|
||||
private final CameraLiveNoticeHelper mCameraLiveNoticeHelper = new CameraLiveNoticeHelper();
|
||||
protected TextView jumpCheck;
|
||||
|
||||
@Override
|
||||
protected int getLayoutId() {
|
||||
@@ -373,7 +376,7 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
|
||||
if (DebugConfig.isDebug()) {
|
||||
mouduleArc.setLongClickable(true);
|
||||
mouduleArc.setOnLongClickListener(v -> {
|
||||
Log.d(TAG,"长按显示状态工具栏");
|
||||
Log.d(TAG, "长按显示状态工具栏");
|
||||
Intent intent = new Intent();
|
||||
intent.putExtra("oper", 52);
|
||||
MogoApisHandler.getInstance().getApis().getIntentManagerApi().invoke(MogoReceiver.ACTION_MOCK, intent);
|
||||
@@ -395,6 +398,15 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
|
||||
enterVrMode();
|
||||
localIsVrMode = true;
|
||||
}
|
||||
// //检测入口
|
||||
jumpCheck = (TextView) findViewById(R.id.module_ext_enter_check);
|
||||
jumpCheck.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
// 启动检测页面
|
||||
MogoApisHandler.getInstance().getApis().getCheckProvider().startCheckActivity(getContext());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private int debugPanelClickCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user