@@ -90,11 +90,7 @@ class RoadConditionDrawer {
|
||||
// mogoMarker.setInfoWindowAdapter( new RoadConditionInfoWindow3DAdapter( markerShowEntity, AbsMogoApplication.getApp(), mogoMarker.getMogoMarkerOptions() ) );
|
||||
// mogoMarker.showInfoWindow();
|
||||
} else {
|
||||
if ( DebugConfig.isRoadEventAnimated() ) {
|
||||
post2AddAndStartAnimation( markerShowEntity, i * 100L, listener );
|
||||
} else {
|
||||
mogoMarker = MarkerDrawer.getInstance().drawMapMarkerImpl( markerShowEntity, false, MarkerDrawer.MARKER_Z_INDEX_HIGH, listener );
|
||||
}
|
||||
post2AddAndStartAnimation( markerShowEntity, i * 100L, listener );
|
||||
}
|
||||
} catch ( Exception e ) {
|
||||
e.printStackTrace();
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
package com.mogo.module.common.utils;
|
||||
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
|
||||
/**
|
||||
* 多模块之间SP状态公共类
|
||||
*/
|
||||
public class SPConst {
|
||||
|
||||
private static String SP_GUIDE = DebugConfig.SP_GUIDE;
|
||||
private static String SP_GUIDE = "SP_GUIDE_2020_09_09";
|
||||
|
||||
//用于多模块之间引导状态判断
|
||||
public static String getSpGuide() {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package com.mogo.module.extensions.entrance;
|
||||
|
||||
import static com.mogo.module.common.utils.SPConst.getSPGuideRecord;
|
||||
import static com.mogo.module.common.utils.SPConst.getSpGuide;
|
||||
import static com.mogo.module.extensions.ExtensionsModuleConst.TYPE_ENTRANCE;
|
||||
import static com.mogo.module.service.receiver.MogoReceiver.ACTION_V2X_REMOVE_TIP_WINDOW;
|
||||
import static com.mogo.module.share.constant.ShareConstants.KEY_CLICK_SHARE_BUTTON;
|
||||
@@ -473,15 +472,8 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
|
||||
groupUserHead.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (DebugConfig.isNeedLoadGuideModule()) {
|
||||
isShowGuide = SharedPrefsMgr.getInstance(AbsMogoApplication.getApp()).getBoolean(getSpGuide(), false);
|
||||
Logger.d(TAG, " isShowGuide = " + isShowGuide + " --isGreaterThanOneDay = " + isGreaterThanOneDay());
|
||||
if (isShowGuide && isGreaterThanOneDay()) {
|
||||
UiThreadHandler.postDelayed(this::playShareOuterGuideVoice, 5_000L);
|
||||
}
|
||||
} else {
|
||||
UiThreadHandler.postDelayed(this::playShareOuterGuideVoice, 5_000L);
|
||||
}
|
||||
UiThreadHandler.postDelayed(this::playShareOuterGuideVoice, 5_000L);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -193,9 +193,7 @@ public class MainActivity extends MvpActivity<MainView, MainPresenter> implement
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugConfig.isSkinSupported()) {
|
||||
initAdasControlStatusListener();
|
||||
}
|
||||
initAdasControlStatusListener();
|
||||
|
||||
if (DebugConfig.isMapBased()) {
|
||||
EventDispatchCenter.getInstance().setMapLoadedCallback(() -> {
|
||||
|
||||
@@ -484,11 +484,7 @@ public class MockIntentHandler implements IntentHandler {
|
||||
Logger.d(TAG, "偏差值:%s", delta);
|
||||
}
|
||||
break;
|
||||
case 41://
|
||||
// adb shell am broadcast -a com.mogo.mock --ei oper 41 --ei type 0 平滑移动
|
||||
// adb shell am broadcast -a com.mogo.mock --ei oper 41 --ei type 1 直接打点
|
||||
DebugConfig.setNotSmooth(intent.getIntExtra("type", 0) == 1);
|
||||
break;
|
||||
|
||||
case 42://
|
||||
WorkThreadHandler.getInstance().post(() -> {
|
||||
try {
|
||||
@@ -595,9 +591,6 @@ public class MockIntentHandler implements IntentHandler {
|
||||
.rotate((float) 358.526123);
|
||||
IMogoMarker marker3 = MogoApisHandler.getInstance().getApis().getMapServiceApi().getMarkerManager(context).addMarker(DataTypes.TYPE_MARKER_ADAS, options3);
|
||||
break;
|
||||
case 50://
|
||||
DebugConfig.setSelfCarSpeedYOffset(intent.getIntExtra("yOffset", 20));
|
||||
break;
|
||||
case 51:// 模拟路口车辆移动
|
||||
// mLocationMockHandler.sendEmptyMessageDelayed(100, 0L);
|
||||
// mLocationMockHandler.sendEmptyMessageDelayed(101, 1000L);
|
||||
|
||||
@@ -325,7 +325,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
|
||||
}
|
||||
if (!MarkerServiceHandler.getApis().getStatusManagerApi().isVrMode()) {
|
||||
MarkerServiceHandler.getMogoStatusManager().setUserInteractionStatus(TAG, true, false);
|
||||
MarkerServiceHandler.getMapUIController().moveToCenter(mogoMarker.getPosition(), DebugConfig.isRoadEventAnimated());
|
||||
MarkerServiceHandler.getMapUIController().moveToCenter(mogoMarker.getPosition(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user