Loading app/src/main/kotlin/at/bitfire/davdroid/receiver/BootCompletedReceiver.kt +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ import at.bitfire.davdroid.ReLoginWithOidcActivity import at.bitfire.davdroid.log.Logger import at.bitfire.davdroid.settings.AccountSettings import at.bitfire.davdroid.syncadapter.AccountUtils import at.bitfire.davdroid.ui.NotificationUtils import at.bitfire.davdroid.ui.NotificationUtils.CHANNEL_GENERAL import at.bitfire.davdroid.ui.NotificationUtils.NOTIFY_SWITCH_TO_OPENID import at.bitfire.davdroid.ui.NotificationUtils.notifyIfPossible Loading Loading @@ -60,7 +62,8 @@ class BootCompletedReceiver: BroadcastReceiver() { val notifText = context.getString(R.string.notification_switch_to_openId_text) val notifIntent = generateLogoutIntent(account.name, context) val notification = NotificationCompat.Builder(context, "your_channel_id") val notification = NotificationUtils.newBuilder(context, CHANNEL_GENERAL) .setContentTitle(notifTitle) .setContentText(notifText) .setSmallIcon(R.drawable.ic_info) Loading Loading
app/src/main/kotlin/at/bitfire/davdroid/receiver/BootCompletedReceiver.kt +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ import at.bitfire.davdroid.ReLoginWithOidcActivity import at.bitfire.davdroid.log.Logger import at.bitfire.davdroid.settings.AccountSettings import at.bitfire.davdroid.syncadapter.AccountUtils import at.bitfire.davdroid.ui.NotificationUtils import at.bitfire.davdroid.ui.NotificationUtils.CHANNEL_GENERAL import at.bitfire.davdroid.ui.NotificationUtils.NOTIFY_SWITCH_TO_OPENID import at.bitfire.davdroid.ui.NotificationUtils.notifyIfPossible Loading Loading @@ -60,7 +62,8 @@ class BootCompletedReceiver: BroadcastReceiver() { val notifText = context.getString(R.string.notification_switch_to_openId_text) val notifIntent = generateLogoutIntent(account.name, context) val notification = NotificationCompat.Builder(context, "your_channel_id") val notification = NotificationUtils.newBuilder(context, CHANNEL_GENERAL) .setContentTitle(notifTitle) .setContentText(notifText) .setSmallIcon(R.drawable.ic_info) Loading