mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Add title check as well to notification filter
This commit is contained in:
parent
bf7446abe9
commit
29e0879381
@ -375,7 +375,7 @@ public class NotificationListener extends NotificationListenerService {
|
||||
dissectNotificationTo(notification, notificationSpec, preferBigText);
|
||||
|
||||
if (notificationSpec.body != null) {
|
||||
if (!checkNotificationContentForWhiteAndBlackList(sbn.getPackageName().toLowerCase(), notificationSpec.body)) {
|
||||
if (!checkNotificationContentForWhiteAndBlackList(sbn.getPackageName().toLowerCase(), notificationSpec.title + " " + notificationSpec.body)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user