[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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user