Loading app/src/main/kotlin/at/bitfire/davdroid/receiver/BootCompletedReceiver.kt +2 −4 Original line number Diff line number Diff line Loading @@ -72,11 +72,9 @@ class BootCompletedReceiver: BroadcastReceiver() { } private fun generateReLoginIntent(context: Context): PendingIntent { val reLoginIntent = Intent(context, ReLoginWithOidcService::class.java).apply { flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK } val reLoginIntent = Intent(context, ReLoginWithOidcService::class.java) return PendingIntent.getActivity(context, return PendingIntent.getService(context, 0, reLoginIntent, PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT) Loading Loading
app/src/main/kotlin/at/bitfire/davdroid/receiver/BootCompletedReceiver.kt +2 −4 Original line number Diff line number Diff line Loading @@ -72,11 +72,9 @@ class BootCompletedReceiver: BroadcastReceiver() { } private fun generateReLoginIntent(context: Context): PendingIntent { val reLoginIntent = Intent(context, ReLoginWithOidcService::class.java).apply { flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK } val reLoginIntent = Intent(context, ReLoginWithOidcService::class.java) return PendingIntent.getActivity(context, return PendingIntent.getService(context, 0, reLoginIntent, PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT) Loading