INNER CODE UNIT · Kotlin

onConfigurationChanged

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

    override fun onConfigurationChanged(newConfig: Configuration) {
        super.onConfigurationChanged(newConfig)

        Language.setFromPreference(this, "pref_fast_language")
    }

    override fun onCreate() {
        super.onCreate()

        instance = this

        Language.setFromPreference(this, "pref_fast_language")

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

        setExceptionHandler()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…