Fix track worker notification behavior
This commit is contained in:
@@ -293,6 +293,7 @@ class TrackWorker @AssistedInject constructor(
|
|||||||
setCategory(NotificationCompat.CATEGORY_SERVICE)
|
setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||||
setDefaults(0)
|
setDefaults(0)
|
||||||
setOngoing(false)
|
setOngoing(false)
|
||||||
|
setOnlyAlertOnce(true)
|
||||||
setSilent(true)
|
setSilent(true)
|
||||||
setContentIntent(
|
setContentIntent(
|
||||||
PendingIntentCompat.getActivity(
|
PendingIntentCompat.getActivity(
|
||||||
|
|||||||
Reference in New Issue
Block a user