修改了Bug

【在线车辆】地图放置一会儿,会出现地图上车辆消失的情况
http://jira.zhidaohulian.com/projects/UI/issues/UI-11?filter=allissues
This commit is contained in:
董宏宇
2020-02-03 19:58:52 +08:00
parent 22962a5fb8
commit 67e25aef51

View File

@@ -120,6 +120,8 @@ public class MogoServiceProvider implements IMogoModuleProvider,
case ServiceConst.MSG_TYPE_REFRESH_DECREASE:
mRefreshRemainingTime -= ServiceConst.DECREASE_INTERVAL;
if ( mRefreshRemainingTime == 0 ) {
mStatusManager.setUserInteractionStatus(ServiceConst.TYPE, true, false );
mUiController.moveToCenter(mLastAutoRefreshLocation);
notifyRefreshData( mLastAutoRefreshLocation, getQueryRadius(), mAutoRefreshCallback );
} else {
mHandler.sendEmptyMessageDelayed( msg.what, ServiceConst.DECREASE_INTERVAL );