This commit is contained in:
wangcongtao
2020-03-04 15:56:46 +08:00
parent 1396306f24
commit e0bdc4cbff
3 changed files with 7 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ MOGO_MODULE_ONLINECAR_VERSION=1.0.1-SNAPSHOT
# v2x
MOGO_MODULE_V2X_VERSION=1.0.1-SNAPSHOT
# 媒体卡片
MOGO_MODULE_MEDIA_VERSION=1.0.0-SNAPSHOT
MOGO_MODULE_MEDIA_VERSION=1.0.1-SNAPSHOT
# 推送
MOGO_MODULE_PUSH_VERSION=1.0.0-SNAPSHOT
# 广告资源位

View File

@@ -62,9 +62,6 @@ public class NaviListenerAdapter extends AMapNaviListenerAdapter {
mNaviOverlayHelper = new NaviOverlayHelper( mAMapNavi, AMapWrapper.getAMap(), mContext );
}
public void setNaviing( boolean mIsNaviing ) {
this.mIsNaviing = mIsNaviing;
}
@@ -207,7 +204,6 @@ public class NaviListenerAdapter extends AMapNaviListenerAdapter {
@Override
public void onLocationChange( AMapNaviLocation aMapNaviLocation ) {
super.onLocationChange( aMapNaviLocation );
Logger.i( TAG, "onLocationChange" +aMapNaviLocation.getCoord().toString());
mNaviOverlayHelper.handlePassedLocation( aMapNaviLocation );
}

View File

@@ -78,6 +78,8 @@ public class ExtensionsPresenter extends Presenter< ExtensionsView > implements
};
private boolean mHasTipWords = false;
private boolean mHasStarted = false;
/**
* 接收时间变化的广播
*/
@@ -210,6 +212,10 @@ public class ExtensionsPresenter extends Presenter< ExtensionsView > implements
if ( !mHasTipWords ) {
return;
}
if ( mHasStarted ) {
return;
}
mHasStarted = true;
if ( autoChange ) {
mHandler.sendEmptyMessageDelayed( MSG_SWITCH_AI_TIP_WORDS, INTERVAL_TIME );
Logger.d( TAG, "auto switch" );