mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 13:09:46 +01:00
Disable event bus in firebase service for now
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
69a4a8a7c2
commit
9017c91d20
@ -74,12 +74,12 @@ class MagicFirebaseMessagingService : FirebaseMessagingService(), KoinComponent
|
|||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
eventBus.register(this)
|
//eventBus.register(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
eventBus.unregister(this)
|
//eventBus.unregister(this)
|
||||||
isServiceInForeground = false
|
isServiceInForeground = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,6 +95,7 @@ class MagicFirebaseMessagingService : FirebaseMessagingService(), KoinComponent
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressLint("LongLogTag")
|
||||||
private fun decryptMessage(subject: String, signature: String) {
|
private fun decryptMessage(subject: String, signature: String) {
|
||||||
val signatureVerification: SignatureVerification
|
val signatureVerification: SignatureVerification
|
||||||
val decryptedPushMessage: DecryptedPushMessage
|
val decryptedPushMessage: DecryptedPushMessage
|
||||||
|
Loading…
Reference in New Issue
Block a user