update location

This commit is contained in:
zhongchao
2023-05-22 15:24:32 +08:00
parent 477c84da9d
commit 28ca21e90d
3 changed files with 13 additions and 19 deletions

View File

@@ -14,12 +14,6 @@ public interface IMogoLocationInfoService {
*/ */
void init(Context context); void init(Context context);
/**
* 设置是否为debug模式
* @param debugMode true/false
*/
void setDebugMode(Boolean debugMode);
void start(); void start();
void stop(); void stop();

View File

@@ -29,6 +29,7 @@ public class LocationManager implements IMogoLocationInfoService {
@Override @Override
public void init(Context context) { public void init(Context context) {
setDebugMode(cloudClientConfig.isShowDebugLog());
if (cloudClientConfig.isThirdLogin()) { if (cloudClientConfig.isThirdLogin()) {
ThirdLocationManager.getInstance().init(context); ThirdLocationManager.getInstance().init(context);
} else { } else {
@@ -36,8 +37,7 @@ public class LocationManager implements IMogoLocationInfoService {
} }
} }
@Override private void setDebugMode(Boolean debugMode) {
public void setDebugMode(Boolean debugMode) {
LocationConfig.isPrintLog = debugMode; LocationConfig.isPrintLog = debugMode;
} }

View File

@@ -36,24 +36,24 @@ PASSWORD=xintai2018
RELEASE=true RELEASE=true
# AI CLOUD 云平台 # AI CLOUD 云平台
# 工具类 # 工具类
MOGO_UTILS_VERSION=1.4.7.5 MOGO_UTILS_VERSION=1.4.7.6
# 网络请求 # 网络请求
MOGO_NETWORK_VERSION=1.4.7.5 MOGO_NETWORK_VERSION=1.4.7.6
# 鉴权 # 鉴权
MOGO_PASSPORT_VERSION=1.4.7.5 MOGO_PASSPORT_VERSION=1.4.7.6
# 常链接 # 常链接
MOGO_SOCKET_VERSION=1.4.7.5 MOGO_SOCKET_VERSION=1.4.7.6
# 数据采集 # 数据采集
MOGO_REALTIME_VERSION=1.4.7.5 MOGO_REALTIME_VERSION=1.4.7.6
# 探路,道路事件发布,获取 # 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.4.7.5 MOGO_TANLU_VERSION=1.4.7.6
# 直播推流 # 直播推流
MOGO_LIVE_VERSION=1.4.7.5 MOGO_LIVE_VERSION=1.4.7.6
# 直播拉流 # 直播拉流
MOGO_TRAFFICLIVE_VERSION=1.4.7.5 MOGO_TRAFFICLIVE_VERSION=1.4.7.6
# 定位服务 # 定位服务
MOGO_LOCATION_VERSION=1.4.7.5 MOGO_LOCATION_VERSION=1.4.7.6
# 远程通讯模块 # 远程通讯模块
MOGO_TELEMATIC_VERSION=1.4.7.5 MOGO_TELEMATIC_VERSION=1.4.7.6
# v2x # v2x
MOGO_V2X_VERSION=1.4.7.5 MOGO_V2X_VERSION=1.4.7.6