调整GPS数据接收时间间隔为5秒。

This commit is contained in:
2026-07-10 12:59:34 +08:00
parent 91d97efe4e
commit da1c07da56
@@ -155,7 +155,7 @@ public class GpsReceiveService extends Service {
// 最小时间间隔1秒,最小距离间隔0米,确保每次位置更新都能接收
locationManager.requestLocationUpdates(
LocationManager.GPS_PROVIDER,
1000L,
5000L,
0f,
locationListener
);