mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 13:47:41 +00:00
[ReceiveNotifications] Honor silent property
Summary: Don't show silent notifications. With D17776 we don't send silent any more, but we might again in the future. Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D17777
This commit is contained in:
@@ -75,6 +75,10 @@ public class ReceiveNotificationsPlugin extends Plugin {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (np.getBoolean("silent", false)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
PendingIntent resultPendingIntent = PendingIntent.getActivity(
|
||||
context,
|
||||
0,
|
||||
|
Reference in New Issue
Block a user