Skip to content

Commit e4a016d

Browse files
author
wenlong
committed
没有位置不上报pid数据
1 parent 435307b commit e4a016d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/com/obd/simpleexample/StatusInface.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public void vehicleResult(String result){
4747
public String mSpd = "00";
4848
public long curTime = 0;
4949
public void RSOinface(JSONObject jsonString){
50+
if(GetLoaction.GetLoactionHead == null)
51+
return;
5052
long time = System.currentTimeMillis();
5153
if( (time - curTime) >= 60*1000 ){
5254
curTime = time;

0 commit comments

Comments
 (0)