forked from github/wulkanowy-mirror
Set upcoming lesson notification visibility to public (#1581)
This commit is contained in:
parent
9d0366d010
commit
d6918077bf
@ -124,6 +124,7 @@ class TimetableNotificationReceiver : HiltBroadcastReceiver() {
|
|||||||
.setAutoCancel(false)
|
.setAutoCancel(false)
|
||||||
.setWhen(countDown)
|
.setWhen(countDown)
|
||||||
.setOngoing(isPersistent)
|
.setOngoing(isPersistent)
|
||||||
|
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||||
.apply {
|
.apply {
|
||||||
if (Build.VERSION.SDK_INT >= N) setUsesChronometer(true)
|
if (Build.VERSION.SDK_INT >= N) setUsesChronometer(true)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user