[2.13.0-arch-opt] mofang view and status bar opt , pnvView add catch in enum
This commit is contained in:
@@ -43,9 +43,7 @@ public abstract class AbsMogoApplication extends Application {
|
||||
AppStateManager.INSTANCE.init(this);
|
||||
initRxJavaErrorHandler();
|
||||
FinalizeCrashFixer.fix();
|
||||
// if (!shouldInit()) {
|
||||
AutoSize.checkAndInit(this);
|
||||
// }
|
||||
|
||||
ScreenHelper.setScreenConfig(this);
|
||||
Utils.init(this);
|
||||
@@ -71,8 +69,7 @@ public abstract class AbsMogoApplication extends Application {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
View contentView = generateToastView(context, message, tipDrawable);
|
||||
return contentView;
|
||||
return generateToastView(context, message, tipDrawable);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ import android.content.IntentFilter;
|
||||
import android.net.ConnectivityManager;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
import com.mogo.commons.module.intent.IMogoIntentListener;
|
||||
import com.mogo.commons.module.intent.IntentHandlerFactory;
|
||||
import com.mogo.commons.module.intent.IntentManager;
|
||||
@@ -18,7 +17,6 @@ import com.mogo.commons.voice.AIAssist;
|
||||
import com.mogo.eagle.core.data.config.CloudPoiManager;
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger;
|
||||
import com.mogo.eagle.core.utilcode.util.NetworkUtils;
|
||||
import com.mogo.realtime.api.MoGoAiCloudRealTime;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -57,10 +55,6 @@ public class MogoServices implements IMogoIntentListener {
|
||||
Intent intent = new Intent("com.freedom.ser.ACTION");
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
mContext.sendBroadcast(intent);
|
||||
|
||||
// if (DebugConfig.isNeedUploadCoordinatesDurationInTime()) {
|
||||
// MoGoAiCloudRealTime.startRealTime(mContext, DebugConfig.getSocketAppId());
|
||||
// }
|
||||
}
|
||||
|
||||
private void registerMogoReceiver(Context context) {
|
||||
@@ -105,9 +99,6 @@ public class MogoServices implements IMogoIntentListener {
|
||||
|
||||
public void destroy() {
|
||||
CallerLogger.INSTANCE.d(M_OLD_OTHER + TAG, "MogoServices do nothings.");
|
||||
// if (DebugConfig.isNeedUploadCoordinatesDurationInTime()) {
|
||||
// MoGoAiCloudRealTime.stopRealTime();
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user