INNER CODE UNIT · Kotlin

onCreate

Gedsh/InviZible · tordnscrypt/src/main/java/pan/alexander/tordnscrypt/App.kt:73

    override fun onCreate() {
        super.onCreate()

        instance = this

        Language.setFromPreference(this, "pref_fast_language")

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            createAuxChannel()
        }

        setExceptionHandler()

        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
            AppCompatDelegate.setCompatVectorFromResourcesEnabled(true)
        }

        initAppLifecycleListener()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…