Skip to content

Commit 5441b82

Browse files
author
Chenhe
committed
修复独立模式下不自动清除通知
fix #23
1 parent faf64bb commit 5441b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/cc/chenhe/qqnotifyevo/service/NotificationMonitorService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class NotificationMonitorService : NotificationListenerService(),
7474
if (intent?.hasExtra("tag") == true) {
7575
(intent.getStringExtra("tag") ?: Tag.UNKNOWN.name)
7676
.let { Tag.valueOf(it) }
77-
.also { processor.clearHistory(it) }
77+
.also { processor.clearHistory(ctx, it) }
7878
}
7979
return Service.START_STICKY
8080
}

0 commit comments

Comments
 (0)