mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 01:45:05 +08:00
Remove attachBaseContext to fix the crash.
This commit is contained in:
parent
96845d31db
commit
8e3d83579b
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user