Skip to content

Commit

Permalink
修复独立模式下不自动清除通知
Browse files Browse the repository at this point in the history
fix #23
  • Loading branch information
Chenhe committed Sep 23, 2021
1 parent faf64bb commit 5441b82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class NotificationMonitorService : NotificationListenerService(),
if (intent?.hasExtra("tag") == true) {
(intent.getStringExtra("tag") ?: Tag.UNKNOWN.name)
.let { Tag.valueOf(it) }
.also { processor.clearHistory(it) }
.also { processor.clearHistory(ctx, it) }
}
return Service.START_STICKY
}
Expand Down

0 comments on commit 5441b82

Please sign in to comment.