[master] update loc
This commit is contained in:
@@ -54,6 +54,8 @@ public class UploadDataService extends Service {
|
||||
private final Runnable buildLocationTask = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Log.d("BuildLocationTask", "Starting buildLocationTask execution");
|
||||
try {
|
||||
final LocationServiceProvider provider = LocationDelegateManager.getInstance().getLocationServiceProvider();
|
||||
if (provider != null) {
|
||||
final Location location = new Location();
|
||||
@@ -75,6 +77,9 @@ public class UploadDataService extends Service {
|
||||
buildCoordinates(location);
|
||||
}
|
||||
handler.postDelayed(this, LocUploadConfig.instance().getLocInterval());
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -91,7 +96,7 @@ public class UploadDataService extends Service {
|
||||
HandlerThread mHandlerThread = new HandlerThread("upload_data_thread");
|
||||
mHandlerThread.start();
|
||||
handler = new Handler(mHandlerThread.getLooper());
|
||||
handler.postDelayed(buildLocationTask, 1000L);
|
||||
handler.postDelayed(buildLocationTask, 3000L);
|
||||
handler.postDelayed(uploadTask, 5 * LocUploadConfig.instance().getLocInterval());
|
||||
}
|
||||
|
||||
|
||||
@@ -36,27 +36,27 @@ PASSWORD=xintai2018
|
||||
RELEASE=true
|
||||
# AI CLOUD 云平台
|
||||
# 工具类
|
||||
MOGO_UTILS_VERSION=1.4.7.45
|
||||
MOGO_UTILS_VERSION=1.4.7.47
|
||||
# 网络请求
|
||||
MOGO_NETWORK_VERSION=1.4.7.45
|
||||
MOGO_NETWORK_VERSION=1.4.7.47
|
||||
# 鉴权
|
||||
MOGO_PASSPORT_VERSION=1.4.7.45
|
||||
MOGO_PASSPORT_VERSION=1.4.7.47
|
||||
# 常链接
|
||||
MOGO_SOCKET_VERSION=1.4.7.45
|
||||
MOGO_SOCKET_VERSION=1.4.7.47
|
||||
# 数据采集
|
||||
MOGO_REALTIME_VERSION=1.4.7.45
|
||||
MOGO_REALTIME_VERSION=1.4.7.47
|
||||
# 探路,道路事件发布,获取
|
||||
MOGO_TANLU_VERSION=1.4.7.45
|
||||
MOGO_TANLU_VERSION=1.4.7.47
|
||||
# 直播推流
|
||||
MOGO_LIVE_VERSION=1.4.7.45
|
||||
MOGO_LIVE_VERSION=1.4.7.47
|
||||
# 直播拉流
|
||||
MOGO_TRAFFICLIVE_VERSION=1.4.7.45
|
||||
MOGO_TRAFFICLIVE_VERSION=1.4.7.47
|
||||
# 定位服务
|
||||
MOGO_LOCATION_VERSION=1.4.7.45
|
||||
MOGO_LOCATION_VERSION=1.4.7.47
|
||||
# 远程通讯模块
|
||||
MOGO_TELEMATIC_VERSION=1.4.7.45
|
||||
MOGO_TELEMATIC_VERSION=1.4.7.47
|
||||
# v2x
|
||||
MOGO_V2X_VERSION=1.4.7.45
|
||||
MOGO_V2X_VERSION=1.4.7.47
|
||||
# SKIN
|
||||
MOGO_SKIN_VERSION=1.4.7.49.19
|
||||
# SDK
|
||||
@@ -75,7 +75,7 @@ SONATYPE_HOST=S01
|
||||
RELEASE_SIGNING_ENABLED=false
|
||||
# 组织名
|
||||
GROUP=com.mogo.cloud
|
||||
VERSION_NAME=1.4.7.45
|
||||
VERSION_NAME=1.4.7.47
|
||||
# 主页
|
||||
POM_URL=https://gitlab.zhidaoauto.com/SCA/L4HA/AndroidApp/support/countly-sdk-android
|
||||
# 版本控制信息
|
||||
|
||||
Reference in New Issue
Block a user