优化模块依赖
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
package com.mogo.module.back;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-02-26
|
||||
* <p>
|
||||
* 描述
|
||||
*/
|
||||
public class BackToLauncherConst {
|
||||
|
||||
public static final String MODULE_NAME ="MOGO_BACK_2_LAUNCHER";
|
||||
|
||||
public static final String MODULE_PATH = "/back2launcher/ui";
|
||||
}
|
||||
@@ -9,6 +9,8 @@ import androidx.fragment.app.Fragment;
|
||||
|
||||
import com.alibaba.android.arouter.facade.annotation.Route;
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
import com.mogo.module.common.MogoModulePaths;
|
||||
import com.mogo.service.MogoServicePaths;
|
||||
import com.mogo.service.module.IMogoModuleProvider;
|
||||
import com.mogo.service.module.ModuleType;
|
||||
|
||||
@@ -18,7 +20,7 @@ import com.mogo.service.module.ModuleType;
|
||||
* <p>
|
||||
* 描述
|
||||
*/
|
||||
@Route( path = BackToLauncherConst.MODULE_PATH )
|
||||
@Route( path = MogoServicePaths.PATH_BACK )
|
||||
public class BackToLauncherModuleProvider implements IMogoModuleProvider {
|
||||
|
||||
private static final String TAG = "BackToLauncherModuleProvider";
|
||||
@@ -36,7 +38,7 @@ public class BackToLauncherModuleProvider implements IMogoModuleProvider {
|
||||
@NonNull
|
||||
@Override
|
||||
public String getModuleName() {
|
||||
return BackToLauncherConst.MODULE_NAME;
|
||||
return TAG;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user