Fix crash reported from rageshake

This commit is contained in:
Benoit Marty 2020-02-26 15:00:25 +01:00
parent 4bb3fb128f
commit a13fec84b0
1 changed files with 1 additions and 1 deletions

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 {