40 lines
1.4 KiB
Java
40 lines
1.4 KiB
Java
package com.mogo.launcher;
|
|
|
|
import android.content.Context;
|
|
|
|
import androidx.multidex.MultiDex;
|
|
|
|
import com.mogo.commons.AbsMogoApplication;
|
|
import com.mogo.commons.debug.DebugConfig;
|
|
import com.mogo.module.common.MogoModule;
|
|
import com.mogo.module.common.MogoModulePaths;
|
|
import com.mogo.module.onlinecar.OnLineCarConstants;
|
|
import com.mogo.tanlu.constant.TanluConstants;
|
|
|
|
/**
|
|
* @author congtaowang
|
|
* @since 2019-12-18
|
|
* <p>
|
|
* Launcher application
|
|
*/
|
|
public class MogoApplication extends AbsMogoApplication {
|
|
|
|
@Override
|
|
public void onCreate() {
|
|
super.onCreate();
|
|
// MogoModulePaths.addModule( new MogoModule( DemoConstants.TAG, "CARD_DEMO" ) );
|
|
// MogoModulePaths.addModule( new MogoModule( Demo2Constants.TAG, "CARD_DEMO2" ) );
|
|
DebugConfig.setNetMode( DebugConfig.NET_MODE_QA );
|
|
MogoModulePaths.addModule(new MogoModule(OnLineCarConstants.TAG, "CARD_TYPE_ROAD_ONLINECAR"));
|
|
MogoModulePaths.addModule( new MogoModule( TanluConstants.TAG, "CARD_TYPE_ROAD_CODITION" ) );
|
|
MogoModulePaths.addModule(new MogoModule( OnLineCarConstants.TAG, "CARD_TYPE_ROAD_ONLINECAR"));
|
|
// MogoModulePaths.addModule(new MogoModule( CallChatConstant.PROVIDER, CallChatConstant.MODULE_NAME));
|
|
}
|
|
|
|
@Override
|
|
protected void attachBaseContext( Context base ) {
|
|
super.attachBaseContext( base );
|
|
MultiDex.install( base );
|
|
}
|
|
}
|