mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Use foreground services to process notification when appropriate.
Right now, the only condition is once every 3 minutes on Android 12. This is ok because Android 12 will allow us (once every 2 minutes or so) to start a foreground service, and it won't show it for the first 10 seconds. So we can kind of do it without any visual penalty.
This commit is contained in:
@@ -14,6 +14,7 @@ public final class NotificationIds {
|
||||
public static final int USER_NOTIFICATION_MIGRATION = 525600;
|
||||
public static final int DEVICE_TRANSFER = 625420;
|
||||
public static final int DONOR_BADGE_FAILURE = 630001;
|
||||
public static final int FCM_FETCH = 630002;
|
||||
|
||||
private NotificationIds() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user