高德轨迹显示异常处理
This commit is contained in:
parent
d9ec95fbc8
commit
6d2656a1f7
@ -59,7 +59,9 @@ public class TrackService extends Service {
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {return null; }
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
@ -95,6 +97,9 @@ public class TrackService extends Service {
|
||||
}
|
||||
|
||||
public void genzong() {
|
||||
if (l == null || l.getLatitude() == 0d) {
|
||||
return;
|
||||
}
|
||||
//经度
|
||||
tib.setLatitude(l.getLatitude() + "");
|
||||
//纬度
|
||||
|
@ -694,7 +694,8 @@ public class HomeFragment extends BaseFragment {
|
||||
qr.getBankCardList();
|
||||
}
|
||||
ur.getDriverExpire();
|
||||
hyr.startOrder(curWaybillId==-1 ? 0 : curWaybillId);
|
||||
// hyr.startOrder(curWaybillId==-1 ? 0 : curWaybillId);
|
||||
hyr.startOrder(0);
|
||||
ur.driverAuthData();
|
||||
}
|
||||
// oldTime= Calendar.getInstance().getTimeInMillis();
|
||||
|
Loading…
Reference in New Issue
Block a user