Skip to content

Commit a605667

Browse files
K2GO-443 fix(app): unique add-ons notification id (review)
Notification id 8 is also ForgejoSeedService and CloneShareService; an add-ons download and a forgejo seed can be foreground at once, so give the add-ons service a free id (11).
1 parent 8f9ec44 commit a605667

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎controller/app/src/main/java/org/appdevforall/k2go/addons/presentation/AddonsDownloadService.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
public final class AddonsDownloadService extends ContentDownloadServiceBase {
2828

2929
private static final String CHANNEL_ID = "code_addons_download_channel";
30-
private static final int NOTIFICATION_ID = 8;
30+
private static final int NOTIFICATION_ID = 11; // distinct: 8 is ForgejoSeedService / CloneShareService (may run concurrently)
3131

3232
public static final String ACTION_START = "org.appdevforall.k2go.CODE_ADDONS_DOWNLOAD_START";
3333
public static final String ACTION_PAUSE = "org.appdevforall.k2go.CODE_ADDONS_DOWNLOAD_PAUSE";

0 commit comments

Comments
 (0)