Don't forward group summary notifications to the wearable, they are meant for the android device only

Possibly also related to #395
master
Daniele Gobbetti 2016-09-27 17:33:10 +02:00
parent b5373d9593
commit fabc52fdad
1 changed files with 5 additions and 0 deletions

View File

@ -193,6 +193,11 @@ public class NotificationListener extends NotificationListenerService {
}
}
//don't forward group summary notifications to the wearable, they are meant for the android device only
if ((notification.flags & Notification.FLAG_GROUP_SUMMARY) == Notification.FLAG_GROUP_SUMMARY) {
return;
}
if ((notification.flags & Notification.FLAG_ONGOING_EVENT) == Notification.FLAG_ONGOING_EVENT) {
return;
}