mirror of
https://gitea.winboll.cc/ZhanGSKen/MyWinBoLL.git
synced 2026-08-14 05:27:11 +08:00
调整GPS数据接收时间间隔为5秒。
This commit is contained in:
@@ -155,7 +155,7 @@ public class GpsReceiveService extends Service {
|
||||
// 最小时间间隔1秒,最小距离间隔0米,确保每次位置更新都能接收
|
||||
locationManager.requestLocationUpdates(
|
||||
LocationManager.GPS_PROVIDER,
|
||||
1000L,
|
||||
5000L,
|
||||
0f,
|
||||
locationListener
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user