|
|
@ -222,6 +222,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
|
|
|
.setOnlyAlertOnce(!alert)
|
|
|
|
.setOnlyAlertOnce(!alert)
|
|
|
|
.setDefaults(0) // disable sound on pre Android 8
|
|
|
|
.setDefaults(0) // disable sound on pre Android 8
|
|
|
|
.setLocalOnly(true)
|
|
|
|
.setLocalOnly(true)
|
|
|
|
|
|
|
|
.setOngoing(true)
|
|
|
|
.setPriority(NotificationCompat.PRIORITY_MIN)
|
|
|
|
.setPriority(NotificationCompat.PRIORITY_MIN)
|
|
|
|
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
|
|
|
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
|
|
|
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
|
|
|
.setVisibility(NotificationCompat.VISIBILITY_SECRET);
|
|
|
|