[6.7.0]
[fea] [乘客屏不用出发工具箱]
This commit is contained in:
@@ -6,7 +6,6 @@ package com.mogo.och.bus.constant
|
||||
class BusConst {
|
||||
companion object {
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 测试用的广播
|
||||
const val BROADCAST_TEST_BUS_CONTROL_TYPE_EXTRA_KEY = "sceneType"
|
||||
|
||||
@@ -6,9 +6,6 @@ package com.magic.mogo.och.charter.constant
|
||||
class CharterConst {
|
||||
companion object {
|
||||
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 上报心跳轮询ms
|
||||
const val LOOP_PERIOD_60S = 60 * 1000L
|
||||
// 开始服务启动自动驾驶等待时间(埋点上传)
|
||||
|
||||
@@ -78,7 +78,7 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
|
||||
LoginStatusManager.getFragment()
|
||||
}
|
||||
|
||||
d(TAG, "切换 fragment:${fragment}_activity:$activity _ ${containerId}")
|
||||
d(TAG, "切换 fragment:${fragment}_activity:$activity _ ${containerId}_$this")
|
||||
|
||||
if (supportFragmentManager != null) {
|
||||
val back = supportFragmentManager.beginTransaction()
|
||||
@@ -234,7 +234,7 @@ abstract class FacadeProvider : IMoGoFunctionProvider, ILoginCallback {
|
||||
LoginStatusManager.setLoginStatus(LoginStatusEnum.Login)
|
||||
val supportFragmentManager: FragmentManager? = activity?.supportFragmentManager
|
||||
val fragment = getFragment()
|
||||
d(TAG, "切换 fragment:${fragment}")
|
||||
d(TAG, "切换 fragment:${fragment}_activity:$activity _ ${containerId}_$this")
|
||||
LoginStatusManager.resetFragment()
|
||||
if (supportFragmentManager != null) {
|
||||
val back = supportFragmentManager.beginTransaction()
|
||||
|
||||
@@ -4,7 +4,9 @@ import android.content.Context
|
||||
import android.view.View
|
||||
import com.alibaba.android.arouter.facade.annotation.Route
|
||||
import com.alibaba.android.arouter.launcher.ARouter
|
||||
import com.mogo.eagle.core.data.config.FunctionBuildConfig
|
||||
import com.mogo.eagle.core.function.api.och.IOchCustomViewProvider
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||
import com.mogo.och.common.module.biz.provider.CommonService
|
||||
import com.mogo.och.facade.constant.FacadeConst
|
||||
@@ -26,9 +28,11 @@ class OchCustomViewProvider : IOchCustomViewProvider {
|
||||
}
|
||||
|
||||
private fun getCommontService(context: Context?){
|
||||
val temp = ARouter.getInstance().build(FacadeConst.DRIVER_PATH).navigation(context)
|
||||
if(temp is FacadeProvider){
|
||||
commonService = temp.commonService
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
val temp = ARouter.getInstance().build(FacadeConst.DRIVER_PATH).navigation(context)
|
||||
if(temp is FacadeProvider){
|
||||
commonService = temp.commonService
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ import com.mogo.commons.debug.DebugConfig
|
||||
*/
|
||||
class BusConst {
|
||||
companion object {
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 测试用的广播
|
||||
const val BROADCAST_TEST_BUS_CONTROL_TYPE_EXTRA_KEY = "sceneType"
|
||||
|
||||
@@ -8,7 +8,6 @@ import com.mogo.commons.debug.DebugConfig
|
||||
class BusConst {
|
||||
companion object {
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 测试用的广播
|
||||
const val BROADCAST_TEST_BUS_CONTROL_TYPE_EXTRA_KEY = "sceneType"
|
||||
|
||||
@@ -7,8 +7,6 @@ import com.mogo.commons.debug.DebugConfig
|
||||
*/
|
||||
class BusConst {
|
||||
companion object {
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 测试用的广播
|
||||
const val BROADCAST_TEST_BUS_CONTROL_TYPE_EXTRA_KEY = "sceneType"
|
||||
|
||||
@@ -8,9 +8,6 @@ import com.mogo.commons.debug.DebugConfig
|
||||
class SweeperConst {
|
||||
companion object {
|
||||
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 测试用的广播
|
||||
const val BROADCAST_TEST_SWEEPER_CONTROL_TYPE_EXTRA_KEY = "sceneType"
|
||||
|
||||
|
||||
@@ -8,9 +8,6 @@ import com.mogo.commons.debug.DebugConfig
|
||||
class TaxiConst {
|
||||
companion object {
|
||||
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 到达起始点围栏
|
||||
const val ARRIVE_AT_START_STATION_DISTANCE = 15 //围栏由20m改为50m 再次改为15m
|
||||
|
||||
|
||||
@@ -6,9 +6,6 @@ package com.mogo.och.unmanned.taxi.constant
|
||||
class TaxiUnmannedConst {
|
||||
companion object {
|
||||
|
||||
// OCH arouter 路由path
|
||||
const val PATH = "/driver/api"
|
||||
|
||||
// 到达起始点围栏
|
||||
const val ARRIVE_AT_START_STATION_DISTANCE = 15 //围栏由20m改为50m 再次改为15m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user