Use klint

This commit is contained in:
ganfra 2019-10-16 10:39:42 +02:00
parent 05a069be04
commit 9e436483de
3 changed files with 1 additions and 4 deletions

View File

@ -31,12 +31,10 @@ import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.functions.BiFunction
import io.reactivex.rxkotlin.addTo
import io.reactivex.schedulers.Schedulers
import java.util.concurrent.TimeUnit
import javax.inject.Inject
import javax.inject.Singleton
/**
* This class handles the global app state. At the moment, it only manages room list.
* It requires to be added to ProcessLifecycleOwner.get().lifecycle

View File

@ -136,7 +136,7 @@ class VectorApplication : Application(), HasVectorInjector, MatrixConfiguration.
}
})
ProcessLifecycleOwner.get().lifecycle.addObserver(appStateHandler)
//This should be done as early as possible
// This should be done as early as possible
initKnownEmojiHashSet(appContext)
}

View File

@ -27,7 +27,6 @@ import androidx.core.view.isVisible
import androidx.drawerlayout.widget.DrawerLayout
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.airbnb.mvrx.viewModel
import im.vector.riotx.R
import im.vector.riotx.core.di.ActiveSessionHolder
import im.vector.riotx.core.di.ScreenComponent