Merge remote-tracking branch 'origin/demo/shunyi_v2v_merge' into demo/shunyi_v2v_merge
# Conflicts: # modules/mogo-module-authorize/src/main/java/com/mogo/module/authorize/authprovider/launcher/MogoMainAuthorize.kt # modules/mogo-module-extensions/src/main/java/com/mogo/module/extensions/entrance/EntranceFragment.java # services/mogo-service-api/src/main/java/com/mogo/service/IMogoServiceApis.java # services/mogo-service-api/src/main/java/com/mogo/service/MogoServicePaths.java # services/mogo-service/src/main/java/com/mogo/service/impl/MogoServiceApis.java
This commit is contained in:
@@ -25,6 +25,7 @@ import com.mogo.service.module.IMogoSearchManager;
|
||||
import com.mogo.service.module.IMogoSettingManager;
|
||||
import com.mogo.service.monitor.IMogoMonitorProvider;
|
||||
import com.mogo.service.network.IMogoNetwork;
|
||||
import com.mogo.service.obu.IMogoCrashWarnProvider;
|
||||
import com.mogo.service.obu.IMogoObuManager;
|
||||
import com.mogo.service.passport.IMogoPassportManager;
|
||||
import com.mogo.service.share.IMogoShareManager;
|
||||
@@ -270,4 +271,10 @@ public interface IMogoServiceApis extends IProvider {
|
||||
* @return
|
||||
*/
|
||||
IMogoSkinSupportInstaller getSkinSupportInstallerApi();
|
||||
|
||||
/**
|
||||
* 获取crashWarnProvider
|
||||
* @return
|
||||
*/
|
||||
IMogoCrashWarnProvider getCrashWarnProvider();
|
||||
}
|
||||
|
||||
@@ -250,4 +250,10 @@ public class MogoServicePaths {
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String PATH_TANLU_UI_API = "/tanlu/ui";
|
||||
|
||||
/**
|
||||
* 碰撞报警模块
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String PATH_CRASH_WARNING = "/crash/warning";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.mogo.service.obu;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.zhidao.manager.ts.TsThreshold;
|
||||
|
||||
/**
|
||||
* 碰撞报警相关接口
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoCrashWarnProvider extends IProvider {
|
||||
/**
|
||||
* 设置碰撞碰撞报警阈值
|
||||
* @param threshold
|
||||
*/
|
||||
void setCrashThreshold(TsThreshold threshold);
|
||||
|
||||
/**
|
||||
* 获取当前碰撞报警阈值
|
||||
* @return
|
||||
*/
|
||||
TsThreshold getCurrentCrashThreshold();
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
package com.mogo.service.obu;
|
||||
|
||||
import com.mogo.service.module.IMogoModuleProvider;
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.zhidao.smartv2x.listener.OnMessageReceiveListener;
|
||||
|
||||
/**
|
||||
* obu事件管理器
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoObuManager extends IMogoModuleProvider, OnMessageReceiveListener{
|
||||
public interface IMogoObuManager extends IProvider, OnMessageReceiveListener{
|
||||
void registerObuDataChangedListener(IMogoObuDataChangedListener listener);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user