[Update] 升级地图版本,删除废弃方法

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2021-11-24 11:38:29 +08:00
parent 4480001fba
commit 21e0cb672e
5 changed files with 3 additions and 17 deletions

View File

@@ -80,7 +80,7 @@ MOGO_TRAFFICLIVE_VERSION=1.3.8
MOGO_LOCATION_VERSION=1.3.8
######## MogoAiCloudSDK Version ########
# 自研地图
MAP_SDK_VERSION=V2.0.0.4
MAP_SDK_VERSION=V2.0.0.9
# websocket
WEBSOCKET_VERSION=1.1.7
## 产品库必备配置产品库自动对versionCode和versionName版本进行升级

View File

@@ -1,6 +1,5 @@
package com.mogo.map.location;
import java.sql.ClientInfoStatus;
import java.util.HashSet;
import java.util.Set;

View File

@@ -33,7 +33,8 @@ public class BaseFloatDialog extends Dialog {
}
private void addFlag() {
if ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.O ) {
// TODO 这里需要申请悬浮床权限
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
getWindow().setType(WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY);
} else {
getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);

View File

@@ -31,15 +31,6 @@ public interface IMogoMapService extends IProvider {
*/
IMogoLocationClient getSingletonLocationClient( Context context );
/**
* 获取定位服务实例
*
* @param context
* @return 定位实例
*/
@Deprecated
IMogoLocationClient getLocationClient( Context context );
/**
* 地理编码或逆地理编码服务
*

View File

@@ -42,11 +42,6 @@ public class MogoMapService implements IMogoMapService {
return MogoLocationClient.getInstance(context);
}
@Override
public IMogoLocationClient getLocationClient(Context context) {
return new MogoLocationClient(context);
}
@Override
public IMogoGeoSearch getGeoSearch(Context context) {
return new MogoGeoSearch(context);