use explicit FetchForegroundService

this avoids potential issues with GenericForegroundService
which eg. may block app start.
This commit is contained in:
B. Petersen
2024-09-21 23:39:34 +02:00
committed by bjoern
parent 3a4c02c8cd
commit ba3ea172e5
6 changed files with 73 additions and 22 deletions
@@ -168,6 +168,7 @@ public class NotificationCenter {
public static final int ID_PERMANENT = 1;
public static final int ID_MSG_SUMMARY = 2;
public static final int ID_GENERIC = 3;
public static final int ID_FETCH = 4;
public static final int ID_MSG_OFFSET = 0; // msgId is added - as msgId start at 10, there are no conflicts with lower numbers