mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-12-04 10:18:00 +01:00
21 lines
575 B
Kotlin
21 lines
575 B
Kotlin
package com.simplemobiletools.gallery
|
|
|
|
import android.support.multidex.MultiDexApplication
|
|
import com.github.ajalt.reprint.core.Reprint
|
|
import com.simplemobiletools.commons.extensions.checkUseEnglish
|
|
import com.squareup.leakcanary.LeakCanary
|
|
|
|
class App : MultiDexApplication() {
|
|
override fun onCreate() {
|
|
super.onCreate()
|
|
if (BuildConfig.DEBUG) {
|
|
if (LeakCanary.isInAnalyzerProcess(this)) {
|
|
return
|
|
}
|
|
LeakCanary.install(this)
|
|
}
|
|
|
|
checkUseEnglish()
|
|
Reprint.initialize(this)
|
|
}
|
|
}
|