|
|
@ -23,10 +23,8 @@ class App : MultiDexApplication() { |
|
|
|
override fun onCreate() { |
|
|
|
override fun onCreate() { |
|
|
|
super.onCreate() |
|
|
|
super.onCreate() |
|
|
|
CrashHandler(this) |
|
|
|
CrashHandler(this) |
|
|
|
if (AppConfig.isCronet && !AppConfig.isGooglePlay) { |
|
|
|
|
|
|
|
//预下载Cronet so |
|
|
|
//预下载Cronet so |
|
|
|
CronetLoader.preDownload() |
|
|
|
CronetLoader.preDownload() |
|
|
|
} |
|
|
|
|
|
|
|
LanguageUtils.setConfiguration(this) |
|
|
|
LanguageUtils.setConfiguration(this) |
|
|
|
createNotificationChannels() |
|
|
|
createNotificationChannels() |
|
|
|
applyDayNight(this) |
|
|
|
applyDayNight(this) |
|
|
|