From a13fec84b090c6be4b7b1a9fba5302fb2b76cadc Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 26 Feb 2020 15:00:25 +0100 Subject: [PATCH] Fix crash reported from rageshake --- .../vector/riotx/fdroid/receiver/AlarmSyncBroadcastReceiver.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/fdroid/java/im/vector/riotx/fdroid/receiver/AlarmSyncBroadcastReceiver.kt b/vector/src/fdroid/java/im/vector/riotx/fdroid/receiver/AlarmSyncBroadcastReceiver.kt index cf30e2daa2..8c9cdbf63b 100644 --- a/vector/src/fdroid/java/im/vector/riotx/fdroid/receiver/AlarmSyncBroadcastReceiver.kt +++ b/vector/src/fdroid/java/im/vector/riotx/fdroid/receiver/AlarmSyncBroadcastReceiver.kt @@ -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 {