Skip to content

Commit df66a45

Browse files
author
wenlong
committed
修改调试事件打印
1 parent f8b7486 commit df66a45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/com/obd/service/DataSyncService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ private BDLocation getBDLocation(BDLocation loc){
278278
if(time == null || loc.getLatitude() == Double.MIN_VALUE){
279279
return getLastPos(loc);
280280
}else{
281+
time = mGetLoaction.formatTime(time);
281282
if(lastLocTime!=null)
282283
MyLog.D("compareTo="+time.compareTo(lastLocTime));
283-
time = mGetLoaction.formatTime(time);
284284
if(lastLocTime==null || (time!=null && time.compareTo(lastLocTime)>0)){
285285
loc.setTime(time);
286286
saveLastPos(loc);

src/com/obd/widget/GetLoaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
public class GetLoaction {
23-
public static final boolean isDebug = true;
23+
public static final boolean isDebug = false;
2424

2525
public String mIMEI = "33333333333";
2626
int mGSMsingle;

0 commit comments

Comments
 (0)