fix#缺陷#163
This commit is contained in:
@@ -336,14 +336,15 @@ public class V2XModuleProvider implements
|
||||
} else if (descriptor == StatusDescriptor.SEEK_HELPING) {
|
||||
refreshMeSeekHelp(isTrue);
|
||||
} else if (descriptor == StatusDescriptor.MAIN_PAGE_RESUME) {
|
||||
String localAccONTime = SharedPrefsMgr.getInstance(V2XUtils.getApp())
|
||||
.getString(V2XConst.V2X_ACC_ON_TIME_STR);
|
||||
long timeSpan = TimeUtils.getTimeSpan(TimeUtils.getNowString(), localAccONTime, TimeConstants.MIN);
|
||||
if (timeSpan < 5) {
|
||||
V2XServiceManager.getV2XRefreshModel().queryRoadData(Utils.getSn());
|
||||
if (isTrue) {
|
||||
String localAccONTime = SharedPrefsMgr.getInstance(V2XUtils.getApp())
|
||||
.getString(V2XConst.V2X_ACC_ON_TIME_STR);
|
||||
long timeSpan = TimeUtils.getTimeSpan(TimeUtils.getNowString(), localAccONTime, TimeConstants.MIN);
|
||||
if (timeSpan < 5) {
|
||||
V2XServiceManager.getV2XRefreshModel().queryRoadData(Utils.getSn());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user