Commit 26b321ee authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Do not send notifications with the flag "local only"

parent 1a769700
......@@ -201,8 +201,9 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
Notification notification = statusBarNotification.getNotification();
if ((notification.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0
|| (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0 ) {
//This is not a notification!
|| (notification.flags & Notification.FLAG_ONGOING_EVENT) != 0
|| (notification.flags & Notification.FLAG_LOCAL_ONLY) != 0) {
//This is not a notification we want!
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment