mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
Fix GPlay build issue
This commit is contained in:
parent
6009026e2f
commit
3462df405c
2 changed files with 4 additions and 4 deletions
|
@ -25,13 +25,13 @@ import androidx.lifecycle.Lifecycle
|
||||||
import androidx.lifecycle.ProcessLifecycleOwner
|
import androidx.lifecycle.ProcessLifecycleOwner
|
||||||
import com.google.firebase.messaging.FirebaseMessagingService
|
import com.google.firebase.messaging.FirebaseMessagingService
|
||||||
import com.google.firebase.messaging.RemoteMessage
|
import com.google.firebase.messaging.RemoteMessage
|
||||||
|
import im.vector.matrix.android.api.pushrules.rest.PushRule
|
||||||
import im.vector.matrix.android.api.session.Session
|
import im.vector.matrix.android.api.session.Session
|
||||||
import im.vector.matrix.android.api.session.events.model.Event
|
import im.vector.matrix.android.api.session.events.model.Event
|
||||||
import im.vector.riotx.BuildConfig
|
import im.vector.riotx.BuildConfig
|
||||||
import im.vector.riotx.R
|
import im.vector.riotx.R
|
||||||
import im.vector.riotx.core.di.ActiveSessionHolder
|
import im.vector.riotx.core.di.ActiveSessionHolder
|
||||||
import im.vector.riotx.core.extensions.vectorComponent
|
import im.vector.riotx.core.extensions.vectorComponent
|
||||||
import im.vector.riotx.core.preference.BingRule
|
|
||||||
import im.vector.riotx.core.pushers.PushersManager
|
import im.vector.riotx.core.pushers.PushersManager
|
||||||
import im.vector.riotx.features.badge.BadgeProxy
|
import im.vector.riotx.features.badge.BadgeProxy
|
||||||
import im.vector.riotx.features.notifications.NotifiableEventResolver
|
import im.vector.riotx.features.notifications.NotifiableEventResolver
|
||||||
|
@ -196,7 +196,7 @@ class VectorFirebaseMessagingService : FirebaseMessagingService() {
|
||||||
description = "",
|
description = "",
|
||||||
type = null,
|
type = null,
|
||||||
timestamp = System.currentTimeMillis(),
|
timestamp = System.currentTimeMillis(),
|
||||||
soundName = BingRule.ACTION_VALUE_DEFAULT,
|
soundName = PushRule.ACTION_VALUE_DEFAULT,
|
||||||
isPushGatewayEvent = true
|
isPushGatewayEvent = true
|
||||||
)
|
)
|
||||||
notificationDrawerManager.onNotifiableEventReceived(simpleNotifiableEvent)
|
notificationDrawerManager.onNotifiableEventReceived(simpleNotifiableEvent)
|
||||||
|
|
|
@ -18,8 +18,8 @@ package im.vector.riotx.push.fcm
|
||||||
import androidx.fragment.app.Fragment
|
import androidx.fragment.app.Fragment
|
||||||
import im.vector.riotx.features.settings.troubleshoot.NotificationTroubleshootTestManager
|
import im.vector.riotx.features.settings.troubleshoot.NotificationTroubleshootTestManager
|
||||||
import im.vector.riotx.features.settings.troubleshoot.TestAccountSettings
|
import im.vector.riotx.features.settings.troubleshoot.TestAccountSettings
|
||||||
import im.vector.riotx.features.settings.troubleshoot.TestBingRulesSettings
|
|
||||||
import im.vector.riotx.features.settings.troubleshoot.TestDeviceSettings
|
import im.vector.riotx.features.settings.troubleshoot.TestDeviceSettings
|
||||||
|
import im.vector.riotx.features.settings.troubleshoot.TestPushRulesSettings
|
||||||
import im.vector.riotx.features.settings.troubleshoot.TestSystemSettings
|
import im.vector.riotx.features.settings.troubleshoot.TestSystemSettings
|
||||||
import im.vector.riotx.gplay.features.settings.troubleshoot.TestFirebaseToken
|
import im.vector.riotx.gplay.features.settings.troubleshoot.TestFirebaseToken
|
||||||
import im.vector.riotx.gplay.features.settings.troubleshoot.TestPlayServices
|
import im.vector.riotx.gplay.features.settings.troubleshoot.TestPlayServices
|
||||||
|
@ -29,7 +29,7 @@ import javax.inject.Inject
|
||||||
class NotificationTroubleshootTestManagerFactory @Inject constructor(private val testSystemSettings: TestSystemSettings,
|
class NotificationTroubleshootTestManagerFactory @Inject constructor(private val testSystemSettings: TestSystemSettings,
|
||||||
private val testAccountSettings: TestAccountSettings,
|
private val testAccountSettings: TestAccountSettings,
|
||||||
private val testDeviceSettings: TestDeviceSettings,
|
private val testDeviceSettings: TestDeviceSettings,
|
||||||
private val testBingRulesSettings: TestBingRulesSettings,
|
private val testBingRulesSettings: TestPushRulesSettings,
|
||||||
private val testPlayServices: TestPlayServices,
|
private val testPlayServices: TestPlayServices,
|
||||||
private val testFirebaseToken: TestFirebaseToken,
|
private val testFirebaseToken: TestFirebaseToken,
|
||||||
private val testTokenRegistration: TestTokenRegistration) {
|
private val testTokenRegistration: TestTokenRegistration) {
|
||||||
|
|
Loading…
Reference in a new issue