1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-06 00:02:48 +02:00

Fix crash reported from rageshake

This commit is contained in:
Benoit Marty
2020-02-26 15:00:25 +01:00
parent 4bb3fb128f
commit a13fec84b0

View File

@@ -48,7 +48,7 @@ class AlarmSyncBroadcastReceiver : BroadcastReceiver() {
}
}
val sessionId = intent.getStringExtra(SyncService.EXTRA_SESSION_ID)
val sessionId = intent.getStringExtra(SyncService.EXTRA_SESSION_ID) ?: return
// This method is called when the BroadcastReceiver is receiving an Intent broadcast.
Timber.d("RestartBroadcastReceiver received intent")
VectorSyncService.newIntent(context, sessionId).let {