From 093e5100a591d8304bff755c645178cef18763ac Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Mon, 5 Sep 2022 15:09:23 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=E4=BF=AE=E6=94=B9UploadDataService?= =?UTF-8?q?=E7=9A=84=E5=90=AF=E5=8A=A8=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third/service/UploadDataService.java | 5 ++++ gradle.properties | 24 +++++++++---------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/foudations/mogo-location/src/main/java/com/mogo/cloud/location/third/service/UploadDataService.java b/foudations/mogo-location/src/main/java/com/mogo/cloud/location/third/service/UploadDataService.java index 97bff48..b006fa6 100644 --- a/foudations/mogo-location/src/main/java/com/mogo/cloud/location/third/service/UploadDataService.java +++ b/foudations/mogo-location/src/main/java/com/mogo/cloud/location/third/service/UploadDataService.java @@ -113,6 +113,11 @@ public class UploadDataService extends Service { } } + @Override + public int onStartCommand(Intent intent, int flags, int startId) { + return Service.START_NOT_STICKY; + } + @Override public void onDestroy() { super.onDestroy(); diff --git a/gradle.properties b/gradle.properties index d974e7d..a531027 100644 --- a/gradle.properties +++ b/gradle.properties @@ -36,26 +36,26 @@ PASSWORD=xintai2018 RELEASE=true # AI CLOUD 云平台 # 工具类 -MOGO_UTILS_VERSION=1.4.3.23 +MOGO_UTILS_VERSION=1.4.3.25 # 网络请求 -MOGO_NETWORK_VERSION=1.4.3.23 +MOGO_NETWORK_VERSION=1.4.3.25 # 网络DNS -MOGO_HTTPDNS_VERSION=1.4.3.23 +MOGO_HTTPDNS_VERSION=1.4.3.25 # 鉴权 -MOGO_PASSPORT_VERSION=1.4.3.23 +MOGO_PASSPORT_VERSION=1.4.3.25 # 常链接 -MOGO_SOCKET_VERSION=1.4.3.23 +MOGO_SOCKET_VERSION=1.4.3.25 # 数据采集 -MOGO_REALTIME_VERSION=1.4.3.23 +MOGO_REALTIME_VERSION=1.4.3.25 # 探路,道路事件发布,获取 -MOGO_TANLU_VERSION=1.4.3.23 +MOGO_TANLU_VERSION=1.4.3.25 # 直播推流 -MOGO_LIVE_VERSION=1.4.3.23 +MOGO_LIVE_VERSION=1.4.3.25 # 直播拉流 -MOGO_TRAFFICLIVE_VERSION=1.4.3.23 +MOGO_TRAFFICLIVE_VERSION=1.4.3.25 # 定位服务 -MOGO_LOCATION_VERSION=1.4.3.23 +MOGO_LOCATION_VERSION=1.4.3.25 # 远程通讯模块 -MOGO_TELEMATIC_VERSION=1.4.3.23 +MOGO_TELEMATIC_VERSION=1.4.3.25 # v2x -MOGO_V2X_VERSION=1.4.3.23 +MOGO_V2X_VERSION=1.4.3.25