Remove attachBaseContext to fix the crash.

This commit is contained in:
Onuray Sahin 2020-08-31 14:04:43 +03:00 committed by Benoit Marty
parent 96845d31db
commit 8e3d83579b
1 changed files with 0 additions and 6 deletions

View File

@ -17,10 +17,8 @@
package im.vector.app.core.services
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.IBinder
import im.vector.app.core.extensions.vectorComponent
import timber.log.Timber
/**
@ -33,10 +31,6 @@ abstract class VectorService : Service() {
*/
private var mIsSelfDestroyed = false
override fun attachBaseContext(base: Context) {
super.attachBaseContext(vectorComponent().vectorConfiguration().getLocalisedContext(base))
}
override fun onCreate() {
super.onCreate()