forked from upstream-mirrors/OpenTracks
+1
-2
@@ -46,8 +46,7 @@ class TrackRecordingServiceNotificationManager {
|
|||||||
|
|
||||||
notificationBuilder = new NotificationCompat.Builder(context, CHANNEL_ID);
|
notificationBuilder = new NotificationCompat.Builder(context, CHANNEL_ID);
|
||||||
notificationBuilder
|
notificationBuilder
|
||||||
.setDefaults(NotificationCompat.DEFAULT_ALL)
|
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
|
||||||
.setPriority(NotificationCompat.PRIORITY_MAX)
|
|
||||||
.setOnlyAlertOnce(true)
|
.setOnlyAlertOnce(true)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||||
|
|||||||
Reference in New Issue
Block a user