diff --git a/bytheway/src/main/java/cc/winboll/studio/bytheway/services/GpsReceiveService.java b/bytheway/src/main/java/cc/winboll/studio/bytheway/services/GpsReceiveService.java index b5b9a18..9bae004 100644 --- a/bytheway/src/main/java/cc/winboll/studio/bytheway/services/GpsReceiveService.java +++ b/bytheway/src/main/java/cc/winboll/studio/bytheway/services/GpsReceiveService.java @@ -155,7 +155,7 @@ public class GpsReceiveService extends Service { // 最小时间间隔1秒,最小距离间隔0米,确保每次位置更新都能接收 locationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, - 1000L, + 5000L, 0f, locationListener );