Merge branch 'dev' into dev_custom_map
# Conflicts: # gradle.properties
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -36,7 +36,6 @@
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-gps-simulator" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-gps-simulator-debug" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-gps-simulator-noop" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-guide" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-left-panel" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-left-panel-noop" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-main" />
|
||||
|
||||
@@ -276,7 +276,6 @@ dependencies {
|
||||
implementation project(':foudations:mogo-commons')
|
||||
implementation project(':modules:mogo-module-common')
|
||||
implementation project(':modules:mogo-module-search')
|
||||
implementation project(':modules:mogo-module-guide')
|
||||
implementation project(':modules:mogo-module-authorize')
|
||||
implementation project(':modules:mogo-module-media')
|
||||
implementation project(':modules:mogo-module-service')
|
||||
|
||||
@@ -19,7 +19,7 @@ project.dependencies {
|
||||
d8xxImplementation project(':foudations:mogo-base-services-apk')
|
||||
em4Implementation project(':foudations:mogo-base-services-apk')
|
||||
e8xxImplementation project(':foudations:mogo-base-services-apk')
|
||||
f8xxImplementation project(':foudations:mogo-base-services-apk')
|
||||
f8xxImplementation project(':foudations:mogo-base-services-sdk')
|
||||
em3Implementation project(':foudations:mogo-base-services-apk')
|
||||
}
|
||||
}
|
||||
@@ -102,8 +102,8 @@ targetSdkVersion : 22,
|
||||
moduleextensions : "com.mogo.module:module-extensions:${MOGO_MODULE_EXTENSIONS_VERSION}",
|
||||
carcall : "com.mogo.module.carchatting:module-carchatting:${CARCHATTING_VERSION}",
|
||||
carcallprovider : "com.mogo.module.carchatting:module-carchatting-provider:${CARCHATTINGPROVIDER_VERSION}",
|
||||
guideshow : "com.mogo.module.guideshow:module-guideshow:${MOGO_MODULE_GUIDESHOW_VERSION}",
|
||||
guideshowprovider : "com.mogo.module.guideshow:module-guideshow-provider:${MOGO_MODULE_GUIDESHOW_PROVIDER_VERSION}",
|
||||
// guideshow : "com.mogo.module.guideshow:module-guideshow:${MOGO_MODULE_GUIDESHOW_VERSION}",
|
||||
// guideshowprovider : "com.mogo.module.guideshow:module-guideshow-provider:${MOGO_MODULE_GUIDESHOW_PROVIDER_VERSION}",
|
||||
// 在线车辆
|
||||
moduleonlinecar : "com.mogo.module:module-onlinecar:${MOGO_MODULE_ONLINECAR_VERSION}",
|
||||
// V2X
|
||||
|
||||
@@ -29,35 +29,38 @@ PASSWORD=xintai2018
|
||||
RELEASE=false
|
||||
# 模块版本
|
||||
## 工程内模块
|
||||
MOGO_COMMONS_VERSION=1.2.1.20
|
||||
MOGO_UTILS_VERSION=1.2.1.20
|
||||
MAP_AMAP_VERSION=1.2.1.20
|
||||
MAP_AUTONAVI_VERSION=1.2.1.20
|
||||
MOGO_COMMONS_VERSION=1.2.1.22
|
||||
MOGO_UTILS_VERSION=1.2.1.22
|
||||
MAP_AMAP_VERSION=1.2.1.22
|
||||
MAP_AUTONAVI_VERSION=1.2.1.22
|
||||
MOGO_MAP_VERSION=1.2.1.22
|
||||
MOGO_MAP_API_VERSION=1.2.1.22
|
||||
MOGO_SERVICE_VERSION=1.2.1.22
|
||||
MOGO_SERVICE_API_VERSION=1.2.1.22
|
||||
MOGO_CONNECTION_VERSION=1.2.1.22
|
||||
MOGO_MODULE_APPS_VERSION=1.2.1.22
|
||||
MOGO_MODULE_NAVI_VERSION=1.2.1.22
|
||||
MOGO_MODULE_SHARE_VERSION=1.2.1.22
|
||||
MOGO_MODULE_COMMON_VERSION=1.2.1.22
|
||||
MOGO_MODULE_MAIN_VERSION=1.2.1.22
|
||||
MOGO_MODULE_MAP_VERSION=1.2.1.22
|
||||
MOGO_MODULE_SERVICE_VERSION=1.2.1.22
|
||||
MOGO_MODULE_EXTENSIONS_VERSION=1.2.1.22
|
||||
MOGO_MODULE_SEARCH_VERSION=1.2.1.22
|
||||
MOGO_MODULE_BACK_VERSION=1.2.1.22
|
||||
MOGO_MODULE_GPS_SIMULATOR_VERSION=1.2.1.22
|
||||
MOGO_MODULE_GPS_SIMULATOR_DEBUG_VERSION=1.2.1.22
|
||||
MOGO_MODULE_GPS_SIMULATOR_NOOP_VERSION=1.2.1.22
|
||||
MOGO_MODULE_AUTHORIZE_VERSION=1.2.1.22
|
||||
MOGO_MODULE_GUIDE_VERSION=1.2.1.22
|
||||
MOGO_MODULE_MEDIA_VERSION=1.2.1.22
|
||||
MOGO_MODULE_MAIN_LAUNCHER_VERSION = 1.2.1.22
|
||||
MOGO_MODULE_MAIN_INDEPENDENT_VERSION = 1.2.1.22
|
||||
MOGO_MODULE_V2X_VERSION=1.2.1.22
|
||||
# 基础服务实现:passport、socket、location
|
||||
MOGO_BASE_SERVICES_APK_VERSION = 1.2.1.22
|
||||
MOGO_BASE_SERVICES_SDK_VERSION = 1.2.1.22
|
||||
MAP_CUSTOM_VERSION=1.2.1.9
|
||||
MOGO_MAP_VERSION=1.2.1.20
|
||||
MOGO_MAP_API_VERSION=1.2.1.20
|
||||
MOGO_SERVICE_VERSION=1.2.1.20
|
||||
MOGO_SERVICE_API_VERSION=1.2.1.20
|
||||
MOGO_CONNECTION_VERSION=1.2.1.20
|
||||
MOGO_MODULE_APPS_VERSION=1.2.1.20
|
||||
MOGO_MODULE_NAVI_VERSION=1.2.1.20
|
||||
MOGO_MODULE_SHARE_VERSION=1.2.1.20
|
||||
MOGO_MODULE_COMMON_VERSION=1.2.1.20
|
||||
MOGO_MODULE_MAIN_VERSION=1.2.1.20
|
||||
MOGO_MODULE_MAP_VERSION=1.2.1.20
|
||||
MOGO_MODULE_SERVICE_VERSION=1.2.1.21
|
||||
MOGO_MODULE_EXTENSIONS_VERSION=1.2.1.20
|
||||
MOGO_MODULE_SEARCH_VERSION=1.2.1.20
|
||||
MOGO_MODULE_BACK_VERSION=1.2.1.20
|
||||
MOGO_MODULE_GPS_SIMULATOR_VERSION=1.2.1.20
|
||||
MOGO_MODULE_GPS_SIMULATOR_DEBUG_VERSION=1.2.1.20
|
||||
MOGO_MODULE_GPS_SIMULATOR_NOOP_VERSION=1.2.1.20
|
||||
MOGO_MODULE_AUTHORIZE_VERSION=1.2.1.20
|
||||
MOGO_MODULE_GUIDE_VERSION=1.2.1.20
|
||||
MOGO_MODULE_MEDIA_VERSION=1.2.1.20
|
||||
MOGO_MODULE_MAIN_LAUNCHER_VERSION = 1.2.1.20
|
||||
MOGO_MODULE_MAIN_INDEPENDENT_VERSION = 1.2.1.20
|
||||
MOGO_MODULE_V2X_VERSION=1.2.1.20
|
||||
|
||||
## 工程外部模块
|
||||
# 探路
|
||||
@@ -98,10 +101,6 @@ MOGO_MODULE_OBU_VERSION = 1.2.1.10-SNAPSHOT
|
||||
MOGO_MODULE_SPLASH_VERSION = 1.0.0-SNAPSHOT
|
||||
MOGO_MODULE_SPLASH_NOOP_VERSION = 1.0.0-SNAPSHOT
|
||||
|
||||
# 基础服务实现:passport、socket、location
|
||||
MOGO_BASE_SERVICES_APK_VERSION = 1.0.0
|
||||
MOGO_BASE_SERVICES_SDK_VERSION = 1.0.0
|
||||
|
||||
## 产品库必备配置
|
||||
applicationId=com.mogo.launcer
|
||||
applicationName=IntelligentPilot
|
||||
|
||||
@@ -310,6 +310,7 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
|
||||
mMogoMapUIController = null;
|
||||
mMogoFragmentManager = null;
|
||||
mServiceApis.getAdasControllerApi().release();
|
||||
mServiceApis.getRefreshStrategyControllerApi().clearAllData();
|
||||
AIAssist.getInstance( this ).release();
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
@@ -764,6 +764,14 @@ public class MogoServices implements IMogoMapListener,
|
||||
restartAutoRefreshAtTime( time, true );
|
||||
}
|
||||
|
||||
public void clearAllData(){
|
||||
try {
|
||||
MarkerServiceHandler.getMapService().getMarkerManager( mContext ).removeMarkers();
|
||||
} catch ( Exception e ) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
private void restartAutoRefreshAtTime( long time, boolean stopOnlineCarRefresh ) {
|
||||
if ( time < 0 ) {
|
||||
Logger.w( TAG, "ignore refresh request case time < 0" );
|
||||
|
||||
@@ -21,6 +21,11 @@ public class MogoRefreshStrategyController implements IMogoRefreshStrategyContro
|
||||
MogoServices.getInstance().restartAutoRefreshAtTime( delay );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearAllData() {
|
||||
MogoServices.getInstance().clearAllData();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init( Context context ) {
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
@@ -42,7 +42,7 @@ android {
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
|
||||
implementation 'com.tencent.liteavsdk:LiteAVSDK_Smart:7.2.8927'
|
||||
implementation 'com.tencent.liteavsdk:LiteAVSDK_Smart:7.4.9211'
|
||||
implementation 'ch.hsr:geohash:1.4.0'
|
||||
implementation rootProject.ext.dependencies.flexbox
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
|
||||
@@ -16,4 +16,9 @@ public interface IMogoRefreshStrategyController extends IProvider {
|
||||
* @param delay 单位(ms) 0 为则立即刷新,为负值则忽略
|
||||
*/
|
||||
void restartAutoRefreshAtTime( int delay );
|
||||
|
||||
/**
|
||||
* 清除所有数据
|
||||
*/
|
||||
void clearAllData();
|
||||
}
|
||||
@@ -22,7 +22,7 @@ include ':modules:mogo-module-share'
|
||||
include ':modules:mogo-module-service'
|
||||
include ':modules:mogo-module-back'
|
||||
include ':modules:mogo-module-authorize'
|
||||
include ':modules:mogo-module-guide'
|
||||
//include ':modules:mogo-module-guide'
|
||||
include ':libraries:map-amap'
|
||||
include ':libraries:map-custom'
|
||||
include ':libraries:mogo-map-api'
|
||||
|
||||
101
upload.sh
101
upload.sh
@@ -1,102 +1,67 @@
|
||||
#!/bin/bash
|
||||
|
||||
./gradlew :foudations:mogo-utils:clean :foudations:mogo-utils:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ];then exit; fi
|
||||
./gradlew :foudations:mogo-commons:clean :foudations:mogo-commons:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :libraries:mogo-map-api:clean :libraries:mogo-map-api:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :services:mogo-service-api:clean :services:mogo-service-api:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :libraries:map-amap:clean :libraries:map-amap:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :libraries:map-autonavi:clean :libraries:map-autonavi:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :libraries:mogo-map:clean :libraries:mogo-map:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-common:clean :modules:mogo-module-common:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :services:mogo-service:clean :services:mogo-service:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-obu:clean :modules:mogo-module-obu:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-map:clean :modules:mogo-module-map:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-apps:clean :modules:mogo-module-apps:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-gps-simulator:clean :modules:mogo-module-gps-simulator:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-gps-simulator-debug:clean :modules:mogo-module-gps-simulator-debug:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-gps-simulator-noop:clean :modules:mogo-module-gps-simulator-noop:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-service:clean :modules:mogo-module-service:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-authorize:clean :modules:mogo-module-authorize:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-share:clean :modules:mogo-module-share:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-extensions:clean :modules:mogo-module-extensions:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-search:clean :modules:mogo-module-search:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-media:clean :modules:mogo-module-media:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-v2x:clean :modules:mogo-module-v2x:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-back:clean :modules:mogo-module-back:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-main:clean :modules:mogo-module-main:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-guide:clean :modules:mogo-module-guide:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :main-extensions:mogo-module-main-independent:clean :main-extensions:mogo-module-main-independent:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :main-extensions:mogo-module-main-launcher:clean :main-extensions:mogo-module-main-launcher:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-event-panel:clean :modules:mogo-module-event-panel:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-event-panel-noop:clean :modules:mogo-module-event-panel-noop:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-left-panel:clean :modules:mogo-module-left-panel:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :modules:mogo-module-left-panel-noop:clean :modules:mogo-module-left-panel-noop:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
./gradlew :modules:mogo-module-byd:clean :modules:mogo-module-byd:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :foudations:mogo-base-services-apk:clean :foudations:mogo-base-services-apk:uploadArchives
|
||||
if [ $? -eq 0 ]; then
|
||||
./gradlew :foudations:mogo-base-services-sdk:clean :foudations:mogo-base-services-sdk:uploadArchives
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ $? -ne 0 ]; then exit; fi
|
||||
./gradlew :foudations:mogo-base-services-sdk:clean :foudations:mogo-base-services-sdk:uploadArchives
|
||||
Reference in New Issue
Block a user