mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 05:07:40 +00:00
Hide notifications for Google Now
This commit is contained in:
parent
823531ddea
commit
39af8f96e6
@ -247,7 +247,12 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
|
||||
String appName = AppsHelper.appNameLookup(context, packageName);
|
||||
|
||||
if (id.serialize().equals("com.facebook.orca::10012") && notification.tickerText == null && appName.equals("Messenger")) {
|
||||
//HACK: Weird Facebook empty "Messenger" notification
|
||||
//HACK: Hide weird Facebook empty "Messenger" notification that is actually not shown in the phone
|
||||
return;
|
||||
}
|
||||
|
||||
if (packageName.equals("com.google.android.googlequicksearchbox")) {
|
||||
//HACK: Hide Google Now notifications that keep constantly popping up (and without text because we don't know how to read them properly)
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user