mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Forward notifications marked as local only if they are emitted by skype
Also add skype for business package name. Blind implementation as I don't have access to these apps. Fixes #1109
This commit is contained in:
parent
4d0020ae1d
commit
2ca8e4a4e4
@ -446,7 +446,8 @@ public class NotificationListener extends NotificationListenerService {
|
||||
//some Apps always mark their notifcations as read-only
|
||||
if (NotificationCompat.getLocalOnly(notification) &&
|
||||
type != NotificationType.WECHAT &&
|
||||
type != NotificationType.OUTLOOK) {
|
||||
type != NotificationType.OUTLOOK &&
|
||||
type != NotificationType.SKYPE) { //see https://github.com/Freeyourgadget/Gadgetbridge/issues/1109
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -109,6 +109,9 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
|
||||
// Skype
|
||||
put("com.skype.raider", NotificationType.SKYPE);
|
||||
|
||||
// Skype for business
|
||||
put("com.microsoft.office.lync15", NotificationType.SKYPE);
|
||||
|
||||
// Mailbox
|
||||
put("com.mailboxapp", NotificationType.MAILBOX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user