Clear group

This commit is contained in:
M66B
2019-09-01 11:32:18 +02:00
parent d11684c5aa
commit 8d426f747b
4 changed files with 20 additions and 17 deletions

View File

@@ -165,7 +165,7 @@ public class ServiceSynchronize extends ServiceBase {
}
});
Map<String, List<Long>> groupNotifying = new HashMap<>();
Map<Long, List<Long>> groupNotifying = new HashMap<>();
// Get existing notifications
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
@@ -174,7 +174,7 @@ public class ServiceSynchronize extends ServiceBase {
String tag = sbn.getTag();
if (tag != null && tag.startsWith("unseen.")) {
String[] p = tag.split(("\\."));
String group = p[1];
long group = Long.parseLong(p[1]);
long id = Long.parseLong(p[2]);
if (!groupNotifying.containsKey(group))